haiku_prepare_signatures
Prepare EIP-712 payloads from a Haiku quote for external signing. Use when wallet private key is not set or a wallet MCP handles signing. Pass quoteId or quoteResponse to extract and normalize payloads for signTypedData, then pass signatures to haiku_execute.
Instructions
External wallet signing path — use this instead of passing signing payloads directly to haiku_execute when WALLET_PRIVATE_KEY is not set or when a wallet MCP (Coinbase Payments MCP, wallet-agent, etc.) handles signing. Extracts and normalizes the EIP-712 payloads from a quote into a standard format any wallet's signTypedData can consume. Pass quoteId (preferred) — the server resolves the full quote from session cache. Alternatively pass the full quoteResponse object if quoteId is unavailable. After signing externally, pass permit2Signature and/or userSignature to haiku_execute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quoteId | No | Quote ID from haiku_get_quote (preferred — server resolves the full quote from session cache) | |
| quoteResponse | No | Full response from haiku_get_quote (fallback when quoteId is unavailable) |