veryfront__update_prompt

Replace the content and description of a structured prompt, where REST and GraphQL clear an omitted description and the MCP tool keeps it; returns the updated prompt source document. Requires project.agents.write.

Risk: mutating.

Arguments

NameTypeRequiredDescription
project_referencestringProject ID or slug
prompt_idstringYesProvide the prompt id.
descriptionstring,nullPrompt description. Null clears it. When omitted, REST and GraphQL clear it and the MCP tool keeps the current one.
contentstringYesPrompt text.
source_target_kindstringWhere to write the prompt file: project (the default) or preview_branch. Other values are rejected.
target_branch_idPreview branch to use. Required for the preview_branch target; rejected for any other target.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__update_prompt",    "arguments": {      "prompt_id": "<prompt_id>",      "content": "<content>"    }  }}