create-or-update-dashboard
Create or update Grafana dashboards by submitting their full JSON model, specifying folder, overwrite flag, and commit message.
Instructions
Create a new dashboard or update an existing one. Pass the full dashboard JSON model.
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": "create-or-update-dashboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Commit message | |
| folderId | No | Folder ID to save into (0 = General) | |
| dashboard | Yes | Grafana dashboard JSON model object | |
| overwrite | No | Overwrite if UID already exists |