Collect Incidents
collect_incidentsCollect a bounded batch of incidents across multiple pages for audits and analysis, keeping payload size controlled with capped results and batch size.
Instructions
Collect a bounded working set of incidents across multiple pages for audits and analysis.
Use this instead of list_incidents when you want a compact batch of incidents in one tool call, while keeping payload size under control.
Argument caps: max_results <= 100, batch_size between 10 and 100. Values outside those bounds are clamped and reported, not rejected.
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": "collect_incidents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order for incidents; a leading '-' sorts newest first. Supported values: created_at, -created_at, updated_at, -updated_at, started_at, -started_at, in_triage_at, -in_triage_at, mitigated_at, -mitigated_at, resolved_at, -resolved_at | -created_at |
| query | No | Optional free-text search across incident titles and summaries | |
| teams | No | Comma-separated team names or slugs to filter incidents (e.g., 'Infrastructure,platform-team') | |
| status | No | Optional incident status filter (e.g., started, investigating, resolved) | |
| severity | No | Optional severity filter (e.g., critical, high, medium, low) | |
| team_ids | No | Comma-separated Rootly team IDs to filter incidents (e.g., '123,456') | |
| batch_size | No | Number of incidents to request per upstream page while collecting (min: 10, max: 100) | |
| max_results | No | Maximum number of compact incident summaries to collect across pages (max: 100) | |
| service_ids | No | Comma-separated Rootly service IDs to filter incidents (e.g., 'svc-1,svc-2') | |
| started_after | No | Filter incidents that started at or after this ISO 8601 timestamp | |
| started_before | No | Filter incidents that started at or before this ISO 8601 timestamp | |
| custom_field_selected_option_ids | No | Comma-separated custom field option IDs for structured incident filtering |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||