Cancel an order
cancel_orderCancel an order when the service supports it: unpaid orders cancel immediately; executing orders are canceled at the provider and payment moves to refunding.
Instructions
Cancel an order when the service supports it. Unpaid orders cancel immediately; executing orders are canceled at the provider and the payment moves to REFUNDING.
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": {
"orderId": "<orderId>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes |