transfer_between_spot_and_perp
Move funds between spot and perpetual accounts on HyperLiquid. Specify the amount and transfer direction to manage trading capital.
Instructions
Transfer funds between spot and perpetual accounts
Args: amount: Amount to transfer to_perp: Transfer to perpetual account (True) or to spot account (False)
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": {
"amount": "<amount>"
},
"name": "transfer_between_spot_and_perp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| to_perp | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||