Update Visualization
update_visualizationReplace a library visualization with a new spec while preserving its ID so dashboards that include it via library panels update; separate panel copies remain unchanged.
Instructions
Replace a library visualization with a new spec; its id stays the same.
Dashboards that show it through add_library_panel change too; panels
added with add_panel or create_dashboard are separate copies and do not.
visualization_id comes from search_visualizations.
space targets a Kibana space by id (default: the default space).
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": {
"visualization_id": "<visualization_id>",
"spec": "<spec>"
},
"name": "update_visualization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| space | No | ||
| visualization_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||