Update visual
update_visualChange title, document or size; set a ref once on a visual that has none. The type cannot change. Send only the fields to change. The type cannot change; a ref can be set once, on a visual that has none. Needs an API key: with none yet, call signup 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": {
"visualId": "<visualId>"
},
"name": "update_visual"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | A slug you choose, 1 to 64 of a-z, 0-9 and -. Unique per owner for dashboards and per dashboard for visuals, and set once. Create with a ref so a later run finds the same object instead of making a duplicate. | |
| size | No | Width and height within the type's limits, which describe_visual_types lists per type with the widths the editor offers. | |
| title | No | ||
| document | No | The visual's whole JSON document, valid for the visual's type: the rules per type are on create_visual's document and in describe_visual_types; get_visual shows the current one. | |
| visualId | Yes | The visual's id. |