Get widgets
get_widgetsList, get or run saved widgets, through the Telemetry Machine REST API (https://telemetrymachine.com/docs/api.md). query runs a saved widget (body: {"time_range"?: {"last": "1h"}, "filters"?: [...]}, the filters ANDed with its own); preview runs an unsaved one (body: {"definition": ...}); schema gives the JSON Schema of a widget.
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": {
"action": "<action>"
},
"name": "get_widgets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| body | No | The JSON body the action takes. | |
| limit | No | ||
| action | Yes | ||
| offset | No | ||
| search | No |