Search incidents
incident_searchSearch and filter ServiceNow incidents by text, state, priority, caller, assignment group, or date; return open or closed records newest first.
Instructions
Find incidents, newest first. Open ones only unless active is false. State is a label (e.g. "In Progress"); people and groups can be names or sys_ids. text matches short description, description or number. query adds an encoded query (ANDed).
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": "incident_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Words to find in the short description, description or number. | |
| limit | No | Maximum records to return. Defaults to the configured default, capped at maxRecords. | |
| query | No | Extra encoded query, ANDed with the rest. | |
| state | No | State label, e.g. "In Progress". See choice_list. | |
| active | No | true (default) = open incidents, false = closed ones. | |
| caller | No | Caller user name, email, full name or sys_id. | |
| fields | No | Field names to return (dot-walking allowed, e.g. caller_id.name). Default: all. | |
| offset | No | Records to skip (paging). Use nextOffset from the previous result. | |
| instance | No | Instance alias from the config (see instance_list). Defaults to the default instance. | |
| priority | No | Priority 1 (critical) to 5. | |
| openedAfter | No | Only incidents opened on or after this date (YYYY-MM-DD). | |
| assignedToMe | No | Only incidents assigned to the connected user. | |
| displayValue | No | raw = stored values, display = labels, both (default) = value and label when they differ. | |
| assignmentGroup | No | Group name or sys_id. |