update_prompt_label
Update a prompt label's name, description, or color; changes apply immediately to versions already tagged without reassigning labels or altering history.
Instructions
Update a prompt label's name, description, or color only, unlike update_prompt_version which changes which label a version carries. This takes effect immediately for all versions already tagged with the label, but does not reassign labels or touch history; use list_prompt_labels to find the label_id first.
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": {
"label_id": "<label_id>"
},
"name": "update_prompt_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the label | |
| label_id | Yes | Label ID to update | |
| color_code | No | New hex color code (e.g., '#FF5733') | |
| description | No | New description |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |