count_logs
Checks log volume before searching by returning counts for a required DataSet filter, with optional time window and priority, and no event bodies.
Instructions
Volume check before search_logs. Returns count/filter/window/cpu_ms only — no event bodies.
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": {
"filter": "<filter>"
},
"name": "count_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | Yes | DataSet filter (required non-empty) | |
| end_time | No | ||
| priority | No | ||
| start_time | No |