trade_cancel
Cancel your trade offer (Withdraws a trade you initiated; nothing moves, and the other player is notified. Fails with trade_in_progress once their accept is already committing (the trade will complete), and with trade_not_found if the trade is gone.)
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": {
"session_id": "<session_id>",
"trade_id": "<trade_id>"
},
"name": "trade_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trade_id | Yes | UUID of the trade offer | |
| session_id | Yes | Your session ID from login/register |