list_incidents
Filter and list PagerDuty incidents by status, dates, teams, or urgency to find precisely the incidents you need.
Instructions
List incidents with optional filtering.
Args:
query_model: Optional filtering parameters
Returns:
List of Incident objects matching the query parameters
Examples:
Basic usage filtering by status:
>>> from pagerduty_mcp.models import IncidentQuery
>>> result = list_incidents(IncidentQuery(status=["triggered"]))
>>> isinstance(result.response, list)
True
Multiple statuses with a limit:
>>> result = list_incidents(IncidentQuery(status=["triggered", "acknowledged"], limit=10))
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": {
"query_model": "<query_model>"
},
"name": "list_incidents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_model | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes |