opencdr_signals_stats
Summarize signal counts by severity for a date range (defaults to last 7 days, max 31 days) to provide a read-only dashboard view; specify agent_id in fleet mode.
Instructions
Signal counts by severity for a date range. Read-only.
A dashboard/summary view, not a substitute for opencdr_signals_search's paginated item listing. Defaults to the last 7 days if neither date is given (YYYY-MM-DD, UTC, inclusive; max range 31 days -- the same date-range bound the severity selector of opencdr_signals_search uses). Returns {date_from, date_to, counts: {: , ...}, total}.
In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset.
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": "opencdr_signals_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | No | ||
| agent_id | No | ||
| date_from | No |