List Incident Roles
list_incident_rolesRetrieve role assignments for an incident to see who is Commander, Scribe, or postmortem owner; omit the incident ID to list the roles your organization defines.
Instructions
List role assignments for an incident (who is Commander, Scribe, etc.).
Without incident_id, lists the incident roles the organization
defines (name, slug, summary, enabled), for "what roles do we have?".
Returns one entry per defined role with role metadata and the assigned
user (or user_id: null for roles that are defined on the incident but
not yet assigned). Use this to answer questions like "who is the
incident commander?", "is there a postmortem owner?", or "list all
roles for INC-4460".
Implementation note: this wraps GET /v1/incidents/{id}?include=roles
and flattens the JSON:API included array of incident_role_assignments
into a flat table so callers don't need to walk the relationships graph.
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": "list_incident_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| incident_id | No | Incident reference whose role assignments to list. Accepts: UUID, bare sequential number (4460), #4460, or INC-4460. Omit to list the roles the organization defines instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||