update_prompt_partial
Updates a prompt partial's content or metadata by creating a new inactive version; only supplied fields change until publishing makes it current.
Instructions
Create a new version of a partial by updating its content or metadata. Only provided fields change, and the new version stays inactive until publish_partial makes it current.
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": {
"prompt_partial_id": "<prompt_partial_id>"
},
"name": "update_prompt_partial"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name for the partial | |
| status | No | New status for the partial | |
| string | No | New content for the partial | |
| description | No | Description for this version | |
| prompt_partial_id | Yes | Prompt partial ID or slug to update |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |