update_prompt_version
Assign or remove a label on a specific prompt version by prompt ID and version UUID; use null to clear the label after looking up IDs with list_prompt_labels.
Instructions
Update a specific prompt version's label assignment. This only assigns or removes a label, and null clears the label after you look up ids with list_prompt_labels.
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_id": "<prompt_id>",
"version_id": "<version_id>",
"label_id": "<label_id>"
},
"name": "update_prompt_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label_id | Yes | Label ID to assign to this version, or null to remove the label | |
| prompt_id | Yes | Prompt ID or slug | |
| version_id | Yes | Version UUID to update |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |