prepare_perp_order
Prepare a zero-custody Hyperliquid order for local EIP-712 signing, returning the action, typed data, nonce, expiry, and intent hash without signing or submitting it.
Instructions
[Capability: available_with_tier_gate; tier: scout_capacity_signature_gated; API: /api/v1/agent/futures/prepare-order; authority: /api/v1/agent/status] Prepare an exact zero-custody Hyperliquid order for local EIP-712 signing. FarmDash returns the action, typed data, nonce, expiry and intent hash but never signs or submits. New-risk preparation requires a fresh execution-ready analysis; reduce-only preparation remains authority-bound at execution.
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>",
"isBuy": "<isBuy>",
"size": "<size>",
"price": "<price>",
"orderType": "<orderType>"
},
"name": "prepare_perp_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | ||
| size | Yes | ||
| isBuy | Yes | ||
| nonce | No | ||
| price | Yes | ||
| grantId | No | ||
| leverage | No | ||
| expiresAt | No | ||
| orderType | Yes | ||
| sessionId | No | ||
| reduceOnly | No | ||
| agentAddress | Yes | ||
| sessionToken | No | ||
| executionMode | No | USER_SIGNED | |
| accountAddress | No | ||
| continuationId | No | ||
| executionTrialId | No |