Cancel an order authoritatively at the hosted layer, by hash or client order id
kellian_cancel_orderCancel an order authoritatively by order hash or client order id. Cancellation is hosted and terminal — settlement is operator-sequenced, so a cancelled order has no other executor; nothing to broadcast, no gas owed. An order with a committed taker reservation is suspended and terminalizes when that fill settles or releases.
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": {
"walletAddress": "<walletAddress>",
"walletSignature": "<walletSignature>",
"signatureTimestamp": "<signatureTimestamp>",
"proofNonce": "<proofNonce>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "kellian_cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clOrdId | No | Client order id to cancel (resolves to the live open/partially-filled order for this wallet with this clOrdId). Provide this OR orderHash. | |
| orderHash | No | Order hash to cancel | |
| proofNonce | Yes | Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed. | |
| walletAddress | Yes | Wallet address that owns the order | |
| idempotencyKey | Yes | Stable retry key. Reuse only with byte-equivalent tool arguments. | |
| walletSignature | Yes | Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp). | |
| signatureTimestamp | Yes | Unix timestamp (seconds) used in the signed challenge message |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |