Preview a Macro Diff on a Ticket
preview_macro_diffPreview a macro's ticket changes as a before-and-after diff without saving, showing only changed fields and the canned reply's public/internal flag.
Instructions
Preview what a macro would change on a ticket, as a before → after diff, without saving. Returns only the changed fields and the canned reply with its public/internal flag. To apply it, call update_ticket for the fields and add_public_comment or add_private_note for the reply.
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>",
"macro_id": "<macro_id>"
},
"name": "preview_macro_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| macro_id | Yes | Macro id, from list_macros. | |
| ticket_id | Yes | Ticket id, from search_tickets or list_tickets. |