cancel_perp_order
Cancel stale or resting Hyperliquid perpetual orders using a venue-signed expiry and FarmDash intent hash, then reconcile each order ID before dependent actions.
Instructions
[Capability: available_with_tier_gate; tier: scout_capacity_signature_gated; API: /api/v1/agent/futures/cancel-order; authority: /api/v1/agent/status] USER_SIGNED requires fresh human approval; BOUNDED_AUTONOMOUS requires futures.cancel scope, a valid owner-signed policy and authenticated session, but not unused entry budget. Local venue signatures are required in both modes. Cancel stale or resting Hyperliquid orders with a venue-signed expiresAfter and FarmDash intent hash. For a delegated API wallet, accountAddress identifies the verified equity owner and is included as the signed vault/subaccount routing address when required. accepted is an application acknowledgement, not final venue cancellation: reconcile every requested ID through /api/v1/agent/futures/reconcile-order before dependent actions. Mixed errors are partial rejection; malformed or timeout outcomes are unknown. Venue nonce authority is network + signer + nonce across account/vault contexts; durable replay control fails closed before submission.
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": {
"agentAddress": "<agentAddress>",
"coin": "<coin>",
"orderIds": "<orderIds>",
"signature": "<signature>",
"nonce": "<nonce>",
"expiresAt": "<expiresAt>",
"intentHash": "<intentHash>"
},
"name": "cancel_perp_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | ||
| nonce | Yes | ||
| grantId | No | ||
| orderIds | Yes | ||
| expiresAt | Yes | ||
| sessionId | No | ||
| signature | Yes | ||
| intentHash | Yes | ||
| agentAddress | Yes | ||
| sessionToken | No | ||
| signedAction | No | ||
| executionMode | No | USER_SIGNED | |
| accountAddress | No |