@daanrongen/grafana-mcp 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -44698,7 +44698,7 @@ var registerAnnotationTools = (server, runtime5) => {
|
|
|
44698
44698
|
})));
|
|
44699
44699
|
server.tool("create_annotation", "Create a Grafana annotation, optionally pinned to a dashboard.", {
|
|
44700
44700
|
text: exports_external.string().describe("Annotation text / description"),
|
|
44701
|
-
tags: exports_external.array(exports_external.string()).describe("Tags to attach to the annotation"),
|
|
44701
|
+
tags: exports_external.union([exports_external.array(exports_external.string()), exports_external.string().transform((s) => JSON.parse(s))]).describe("Tags to attach to the annotation"),
|
|
44702
44702
|
dashboardUid: exports_external.string().optional().describe("Dashboard UID to attach the annotation to"),
|
|
44703
44703
|
time: exports_external.number().optional().describe("Epoch time in milliseconds (default: now)"),
|
|
44704
44704
|
timeEnd: exports_external.number().optional().describe("End epoch time in milliseconds for a time-range annotation")
|