Cancel your RFQ
cancel_rfqCancel your own RFQ or private order before a deal is agreed so no one can quote or take it. Agreed deals settle or refund through their swap.
Instructions
Cancel your own request or private order so no one can quote or take it. Only before a deal on it is agreed; an agreed deal settles or refunds through its swap.
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": {
"rfq_id": "<rfq_id>"
},
"name": "cancel_rfq"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rfq_id | Yes | Request id (rfqId) from list_open_rfqs, my_rfqs, create_rfq or a share link |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Set instead when the call failed | |
| rfqId | No | Request id | |
| status | No | ||
| askPrice | No | Total ask; null if none | |
| baseAmount | No |