run_suzieq_summarize
Analyze and summarize network data from SuzieQ tables like 'device', 'bgp', or 'interface' by applying optional filters to retrieve structured JSON insights for observability and troubleshooting.
Instructions
Runs a SuzieQ 'summarize' query via its REST API.
Args:
table: The name of the SuzieQ table to summarize (e.g., 'device', 'bgp', 'interface', 'route').
filters: An optional dictionary of filter parameters for the SuzieQ query
(e.g., {"hostname": "leaf01", "vrf": "default"}).
Keys should match SuzieQ filter names. Values can be strings or lists of strings.
If no filters are needed, this can be None, null, or an empty dictionary.
Returns:
A JSON string representing the summarized result from the SuzieQ API,
or a JSON string with an error message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filters | No | ||
table | Yes |
Input Schema (JSON Schema)
{
"properties": {
"filters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Filters"
},
"table": {
"title": "Table",
"type": "string"
}
},
"required": [
"table"
],
"title": "run_suzieq_summarizeArguments",
"type": "object"
}