invariance_saved_view_run
Run a stored saved view or an ad-hoc query on Invariance observability data by supplying either saved_view_id or source with spec, and return the result.
Instructions
Run a query and return the result. Pass EITHER saved_view_id OR source+spec (exactly one).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "invariance_saved_view_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | QuerySpec as a JSON object string. Fields (all optional): fields (string[]), filters ([{"field","op":"eq|neq|in|gt|gte|lt|lte","value"}]), group_by (string), aggregation ("count|sum|avg|min|max|count_distinct"), aggregation_field (string), order_by (string), order_dir ("asc|desc"), limit (int). Example: {"filters":[{"field":"status","op":"eq","value":"open"}],"aggregation":"count"} | |
| source | No | Ad-hoc query source; requires spec. | |
| saved_view_id | No | Run a stored saved view by ID. |