Close Incident
close_incidentClose a resolved incident in ServiceNow by changing its state to Closed. Provide the sys_id, close notes, and optionally a close code.
Instructions
Close an incident by setting state to Closed (7). IMPORTANT: This changes the incident state. The incident should typically be in Resolved state before closing, though this depends on instance configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | The ServiceNow instance auth alias to use. This is the alias configured via `snc configure` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable. | |
| sys_id | Yes | The sys_id of the incident to close. | |
| close_notes | Yes | Notes describing why the incident is being closed. | |
| close_code | No | The close code for the closure (e.g., "Solved (Permanently)", "Solved (Work Around)", "Closed/Resolved by Caller"). |