Prepare the trading key approval
prepare_trading_keyCreates (or returns) the WakeTrades trading key for this account and returns the approveAgent action and the EIP-712 typedData to sign with the wallet. Hyperliquid refuses keys on an account without a deposit. Before signing, check that typedData's primaryType is HyperliquidTransaction:ApproveAgent; never sign a Withdraw.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "prepare_trading_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||