Apply a macro to a ticket
zendesk_apply_macroApply a macro to a Zendesk ticket to update status, fields, or add a comment. Requires ticket ID and macro ID; the tool modifies the ticket.
Instructions
Apply a macro (canned action) to a ticket and persist the resulting changes (status, fields, and/or a comment). Get a macro id from zendesk_list_macros. This modifies the ticket — confirm with the user first. Returns the changes applied and the updated ticket.
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": {
"ticketId": "<ticketId>",
"macroId": "<macroId>"
},
"name": "zendesk_apply_macro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticketId | Yes | Numeric ticket id. | |
| macroId | Yes | Numeric macro id (from zendesk_list_macros). |