update_context
Use this when the user wants to rename or recolor one of their contexts. The id never changes, so cards keep their assignment. Do not use to change which context a card carries — use update_card.
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": {
"contextId": "<contextId>"
},
"name": "update_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | New hex color, e.g. '#4f9466'. | |
| label | No | New label, e.g. '@office'. | |
| contextId | Yes | The context id, from list_contexts. |