Prompts

update_prompt

Edit a tracked question, or activate, deactivate or archive it.

writeChanges your workspace. Needs a read-and-write credential.
Plan
Track and above
Rate cost
1 unit

Try asking

“Archive the prompt about the old product name.”

Reviewed by Garvit Sharma, Co-founder, on 4 November 2026. This tool is included from the Track plan, ₹6,999 a month in INR before 18% GST. Calls follow the Model Context Protocol tools specification and JSON-RPC 2.0.

Which arguments does it take?

Passed as the tool call's arguments.

project_idstringrequired

The project to read, from list_projects.

prompt_idstringrequired

The prompt to change.

textstring

New wording, 1–1000 characters.

categorystring

New grouping.

statusenum<string>

New state. Archiving frees a slot in the plan's prompt limit.

Values:activeinactivearchived

What does it return?

The same object as Update a prompt, returned as structured output.

idstring

Prompt id.

textstring

The question, as engines are asked it.

categorystringnullable

Free-text grouping, e.g. Comparison.

statusstring

active prompts are asked on every sweep. inactive ones are paused but still hold a slot in the plan's prompt limit. archived ones keep their history and free the slot.

Values:activeinactivearchived

Which errors can it return?

403 write_not_allowedThe key or connection is read-only, or it belongs to a viewer. Writes need a read-and-write key or connection, from a member who can edit.
404 not_foundThe project or item doesn't exist in this workspace. A project from another workspace also returns 404, never 403.
422 invalid_requestA parameter or body field is missing or has the wrong type or value. The message names the field. Also returned when a write would pass the plan's prompt limit.
401 unauthorizedNo key was sent, or the key is unknown, revoked or expired, or the member who created it has left the workspace or been deactivated.
402 plan_requiredThe workspace's plan doesn't include API access. It's included on every plan from Track up — Solo is the one without it.
403 workspace_not_approvedThe workspace is still waiting for approval, or wasn't approved.
429 rate_limitedToo many requests this minute. Wait for the number of seconds in the `Retry-After` header, then retry.

Every code, and what to retry, is in Errors.

Failures arrive as a tool error — isError: true with code: message as text. See Using the tools.