search_incidents
Find incidents by text, state, priority, caller, assignment, or custom query. Returns compact summaries for matching records to locate incidents without exact numbers.
Instructions
Find incidents matching a filter. This is the primary discovery tool.
Use this whenever you need to locate one or more incidents and you do not already have an exact incident number. Returns a compact summary of each match, not the full record.
Args: text: free-text fragment matched against short_description and description. state: New, In Progress, On Hold, Resolved, Closed, or the numeric code. priority: 1-5, where 1 is critical. Accepts "1" or "<=2" style comparisons. caller: name of the person who reported the incident. assigned_to: name of the engineer the incident is assigned to. assignment_group: e.g. "Network Operations", "Database Administration". cmdb_ci: exact configuration item name, e.g. "PAY-APP-01". active_only: when true (default) exclude Resolved and Closed incidents. Set false when looking for historical or previously solved incidents. opened_after: ISO timestamp, e.g. "2026-08-22 00:00:00". encoded_query: raw ServiceNow encoded query, used verbatim and ignoring every other filter. Escape hatch for conditions the named arguments cannot express. order_by: field name; prefix with "-" for descending. Default newest first. limit: maximum rows to return (1-20).
Prefer get_incident when you already know the exact number. Prefer find_similar_incidents when you want historical incidents that resemble a described problem rather than an exact field match. Prefer get_incident_stats when you only need counts per group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| limit | No | ||
| state | No | ||
| caller | No | ||
| cmdb_ci | No | ||
| order_by | No | -opened_at | |
| priority | No | ||
| active_only | No | ||
| assigned_to | No | ||
| opened_after | No | ||
| encoded_query | No | ||
| assignment_group | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |