press_button
Press a button for the customer a ticket is from: the integration's URL is asked to act on their account in the workspace's own system (cancel, refund, and so on). It runs once and may not be possible to undo. Tell the person what you are about to do and get their yes first. A private note is added to the 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": {
"ticket_id": "<ticket_id>",
"button_id": "<button_id>",
"word": "<word>"
},
"name": "press_button"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| word | Yes | The button's word, exactly as list_buttons gives it. Ask the person to confirm before pressing a button. | |
| fields | No | The button's extra fields, as an object of name to value, if it has any. | |
| button_id | Yes | The button's id (a uuid), from get_customer_details or list_buttons. | |
| ticket_id | Yes | The ticket of the customer whose account this acts on (a uuid from list_tickets). The customer must have been logged in. | |
| idempotency_key | No | A key of your own for this press, 16 to 64 letters, digits, - or _. Send the same one if you retry, so the button runs once. Left out, each call is a new press. |