swsd_list_my_incidents
List incidents assigned to or requested by the authenticated user, with filters for state, priority, dates, sites, and search. Choose assignee or requester role to scope results.
Instructions
List incidents for the authenticated user. role=assignee (default) filters the fetched page by assignee; role=requester resolves your requester ID and filters all pages server-side. For group scope use swsd_list_incidents with assigned_to_group=<group_id>. Lookup failures are errors, and totals identify whether they count filtered matches or upstream candidates.
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": "swsd_list_my_incidents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-indexed). | |
| role | No | assignee: tickets assigned to you (page-local filter). requester: tickets requested by you (server-side filter). | assignee |
| query | No | Free-text search across incident title and description. Same async-indexing caveat as solution search — just-created tickets may not appear for a few minutes. | |
| sites | No | Filter to incidents at any of these site names (use swsd_list_sites to discover). | |
| states | No | Filter to incidents matching ANY of these states (e.g. ["New", "Assigned"]). | |
| sort_by | No | Sort key. Default is SWSD-side (typically updated_at desc). | |
| per_page | No | Results per page (1-100). SWSD caps at 100. | |
| categories | No | Filter to incidents matching ANY of these category names. | |
| created_to | No | Filter to incidents created on or before this ISO date or datetime. | |
| priorities | No | Filter to incidents matching ANY of these priorities (e.g. ["High", "Medium"]). | |
| sort_order | No | Sort direction. Use uppercase per SWSD convention. | |
| updated_to | No | Filter to incidents updated on or before this ISO date or datetime. Pair with updated_from for an explicit range. | |
| departments | No | Filter to incidents in any of these department names. | |
| created_from | No | Filter to incidents created on or after this ISO date or datetime (YYYY-MM-DD or RFC 3339). | |
| state_is_not | No | Negative state filter: exclude incidents in any of these states (e.g. ["Resolved", "Closed"] to see only open work). | |
| updated_from | No | Filter to incidents updated on or after this ISO date or datetime (YYYY-MM-DD or RFC 3339). | |
| updated_within | No | Convenience alias for updated_from: "Nh" is an exact hours-ago ISO timestamp; "Nd" and "Nw" use the UTC calendar date N days or N weeks ago. N must be 1-365. Ignored if updated_from is explicitly set. | |
| requester_email | No | Filter to incidents requested by this email. | |
| assigned_to_group | No | Filter to incidents assigned to this group ID. Use swsd_list_groups to find the ID. NOTE: this is GROUP id, not user id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| scan | Yes | Honest accounting of the client-side filter: what was scanned vs matched. | |
| incidents | Yes | ||
| pagination | Yes | ||
| assignee_email | No | The authenticated user's email used as the assignee filter (applied client-side). | |
| applied_filters | Yes | Echo of the filters applied to this query — empty object if none. Use this to reason about whether the result count reflects your filters or the tenant total. requester_email is filtered server-side; assignee_email and exact time cutoffs are page-local. | |
| requester_email | No |