Update label
labels_update_labelModify an existing label's name, icon, color, or description. Omitted fields remain unchanged.
Instructions
Update fields on an existing label.
Calls WS config/label_registry/update; only the parameters you pass
are sent, so omitted fields keep their current value.
Use when: renaming a label or changing its icon, color or description.
Returns: the updated label registry dict.
Errors: on a WS failure, returns {"error": "<message>"} instead of
raising.
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": "labels_update_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | New mdi icon identifier, e.g. 'mdi:alert'; omit to leave the current icon unchanged. | |
| name | No | New display name; omit to leave the current name unchanged. | |
| color | No | New label color name; omit to leave the current color unchanged. | |
| label_id | Yes | Label registry ID to update; obtain it from labels_list_labels. | |
| description | No | New free-text description; omit to leave the current description unchanged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||