Update Ticket
ninjaone_update_ticketModify a ticket's status, assignee, priority, tags, or attributes in NinjaOne and get the ticket state before and after the change, with write mode and confirmation enforced.
Instructions
Updates a ticket (status, assignee, priority, tags, attributes). Returns the ticket before and after the change. Body (object) per NinjaOne update_2. Fields: version (integer, required), clientId (integer, required), ticketFormId (integer, required), subject (string, required), status (string, required), requesterUid (string, required), locationId (integer), nodeId (integer), type ("PROBLEM"|"QUESTION"|"INCIDENT"|"TASK"|"CHANGE_REQUEST"|"SERVICE_REQUEST"|...), cc (object), assignedAppUserId (integer), severity ("NONE"|"MINOR"|"MODERATE"|"MAJOR"|"CRITICAL"), priority ("NONE"|"LOW"|"MEDIUM"|"HIGH"), parentTicketId (integer), tags (string[]), attributes (object[]), additionalAssignedTechnicianIds (integer[]), followupTime (number). Needs NINJAONE_MODE=write and confirm: true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ticket_id": "<ticket_id>",
"body": "<body>",
"confirm": "<confirm>"
},
"name": "ninjaone_update_ticket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body as NinjaOne documents it for update_2. Field names are NinjaOne's (camelCase). | |
| confirm | Yes | Must be exactly true. States that this call changes live data. There is no undo from this server. | |
| ticket_id | Yes | Ticket id. |