update_widget
Modify an existing canvas widget's title, data, position, or size. Merge partial data by default, append log lines, or mark checklist items done.
Instructions
Update an existing widget. data is shallow-merged into the current data by default (send only the keys you change, e.g. {edges} on a livemap); pass merge:false to replace it entirely. Shortcuts: log widgets take data.append (lines to add); checklist widgets take data.set ({"": "done"}). x/y move it on the canvas; changing w/h pushes covered widgets down.
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": {
"id": "<id>"
},
"name": "update_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | ||
| w | No | ||
| x | No | ||
| y | No | ||
| id | Yes | ||
| data | No | ||
| merge | No | ||
| title | No |