add_grafana_related_resource
Links a Grafana dashboard or alert rule to an incident as a related resource, building the click-through URL from integration settings and reusing any existing link.
Instructions
Link a Grafana dashboard or alert rule (from search_grafana_resources) to an incident as a related resource. The click-through URL is built server-side from the tenant's Grafana integration settings. If this item was already linked, the existing link is returned.
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": {
"incidentId": "<incidentId>",
"uid": "<uid>",
"kind": "<kind>"
},
"name": "add_grafana_related_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Grafana dashboard or alert rule uid | |
| kind | Yes | Whether the uid is a dashboard or alert rule | |
| name | No | Title, used as the resource title | |
| incidentId | Yes | The UUID of the incident | |
| includeDrills | No | Set true to read or change a drill (exercise) incident. Omit to keep the default: drill incidents are hidden and return 404. |