cancel_order
Cancel an order before it ships by providing the transaction number. Reason is optional.
Instructions
Cancel an order. Only works before shipping stage.
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": {
"transaction_no": "<transaction_no>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transaction_no | Yes | ||
| reason | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||