get_dashboard
Fetch a Grafana dashboard by UID to retrieve its panels, datasources, raw queries (SQL/PromQL/LogQL), and template variables for reusing existing query logic.
Instructions
Fetch a dashboard by uid and return its panels with their datasource and raw queries (SQL / PromQL / LogQL) — the fastest way to reuse a query someone already wrote, plus its template variables.
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": {
"uid": "<uid>"
},
"name": "get_dashboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Dashboard uid from search_dashboards |