update_dashboard
Modify a Grafana dashboard while stashing its prior model for undo. Preview changes with dry-run before committing updates to a configured target.
Instructions
[WRITE][risk=medium] Update a Grafana dashboard. Captures the prior model for undo.
The dashboard model must include its uid. The current model is fetched
first and stashed so the harness records a restore undo.
Args: dashboard: Full dashboard model (must include "uid"). overwrite: Overwrite the existing dashboard version (default True). dry_run: If True, preview without updating. target: Grafana target name from config; omit for the default.
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": {
"dashboard": "<dashboard>"
},
"name": "update_dashboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| dashboard | Yes | ||
| overwrite | No |