Edit an AI prompt
update_promptSave new text for the fit_check AI prompt. Each edit creates a new version while older ones are kept, so you can refine instructions and judgment without changing the fixed answer format.
Instructions
Save new text for one of the AI prompts (fit_check), 1 to 20,000 characters. Every edit becomes a new version; older versions are kept. Send the WHOLE prompt, not only the changed part. An edit can change the wording and the judgment, but not the shape of the answer: the answer format is checked by code.
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": {
"name": "<name>",
"text": "<text>"
},
"name": "update_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Which prompt. One of: fit_check. | |
| text | Yes | The full new prompt text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| text | Yes | ||
| version | Yes | The version number. Version 1 is the shipped default, saved the first time the prompt was used. | |
| saved_at | Yes | When this version was saved (ISO 8601, UTC). | |
| is_default | Yes | True when this version was saved from a shipped default (possibly from an earlier release; reset_prompt saves the current one), false when it is the user's edit. |