Update a prompt
update_promptEdit one tracked question: its text, category, intent, funnel stage, status (active, paused, draft) or persona. Fields left out keep their value. Stored answers keep their history; the change applies to future scans. Returns the updated prompt. For many prompts at once use bulk_update_prompts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"promptId": "<promptId>"
},
"name": "update_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The new question text. | |
| funnel | No | Funnel stage of the question. | |
| intent | No | What the buyer wants. | |
| status | No | active, paused or draft. | |
| category | No | A new category. | |
| promptId | Yes | The prompt id, from list_prompts. | |
| personaId | No | Ask as this buyer persona; null asks it bare. | |
| projectId | Yes | The project id, from list_projects. |