create_annotation
Create Grafana annotations to mark events, attach them to dashboards, add tags, or preview changes with dry-run before recording.
Instructions
[WRITE][risk=medium] Create a Grafana annotation (an event marker).
Args: text: Annotation text. tags: Optional list of tag strings. dashboard_uid: Optional dashboard UID to attach the annotation to. dry_run: If True, preview without creating. 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": {
"text": "<text>"
},
"name": "create_annotation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| text | Yes | ||
| target | No | ||
| dry_run | No | ||
| dashboard_uid | No |