Batch update
batch_updateReplace the documents of several visuals at once, keyed by each visual's ref. 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": {
"dashboardId": "<dashboardId>",
"data": "<data>"
},
"name": "batch_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The new documents, keyed by the ref of the visual each one replaces, so one call keeps a whole dashboard fresh. Each is read as PUT /v1/visuals/{id}/data reads it (whole document, numeric strings coerced). Every entry is tried in the order sent: 200 when all were written, 422 batch_failed with the same results when any was not. | |
| dashboardId | Yes | The dashboard's id. |