grafana_request
Call ANY Grafana HTTP API endpoint directly on the tenant's Grafana connection (covers the full API surface). Required: method (GET|POST|PUT|DELETE|PATCH), path (relative to /api, with leading slash, e.g. '/search', '/dashboards/uid/abc'). Optional: body (object), query (object → query string). Use the named grafana_* tools for common resources; use this for anything else. Secrets stay server-side.
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": {
"method": "<method>",
"path": "<path>"
},
"name": "grafana_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body sent to the API | |
| path | Yes | Grafana API path relative to /api with leading slash, e.g. '/search' | |
| query | No | Query-string parameters (name → value) | |
| method | Yes | HTTP method: GET, POST, PUT, DELETE or PATCH |