Update ticket
Change status, priority, assignee or tags of one ticket.
MCP tool happyfox_write → update_ticket
write Confirm
Updates the fields you pass and leaves the rest. Use IDs from list_statuses, list_priorities and list_agents. Pass assignee_id null to leave the ticket unassigned. Smart Rules and SLA run as usual after the update, so a status change can email the contact. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| ticket_id integer required | integer | Ticket ID from search_tickets. |
| status_id integer | integer | Status ID from list_statuses. |
| priority_id integer | integer | Priority ID from list_priorities. |
| assignee_id integer | integer | Agent ID from list_agents, or null to leave the ticket unassigned. |
| add_tags array | array | Tags to add. Existing tags stay. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "happyfox_write",
"arguments": {
"operation": "update_ticket",
"arguments": {
"ticket_id": 2038,
"priority_id": 4,
"assignee_id": 12,
"add_tags": [
"billing",
"refund"
]
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"ticket_id": 2038,
"status": "New",
"priority": "High",
"assignee": "Sam Okafor",
"tags": [
"billing",
"refund"
],
"updated_at": "2026-10-20T09:02:00Z"
},
"isError": false
}