update_prompt_snippet
Update a prompt snippet draft by reading its version first to avoid conflicts; pass only the fields you want to change.
Instructions
Update a prompt_snippet draft. Read it first to get expectedVersion; on a 409 conflict, read again and retry. Pass only the fields you are changing (camelCase) in fields.
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": {
"id": "<id>",
"expectedVersion": "<expectedVersion>",
"fields": "<fields>"
},
"name": "update_prompt_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The prompt_snippet's id. | |
| fields | Yes | The fields to change, as a JSON object (camelCase keys). | |
| expectedVersion | Yes | The version you last read — rejected with 409 if stale. |