Cancel Ticket
cancel_ticketCancel a RegioJet reservation or paid ticket by ticket ID, optionally refunding to the original payment source; confirm with the user first and note possible cancellation charges.
Instructions
Cancel a reservation or a paid ticket. Paid tickets may incur cancel_charge (see get_my_ticket). Confirm with the user first.
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>"
},
"name": "cancel_ticket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Response language; defaults to server setting. | |
| ticket_id | Yes | ||
| refund_to_original_source | No | Refund a paid ticket to the card it was paid with instead of account credit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||