modify_order
Modify an existing order by providing the trading pair, order ID, new size, and new price to update your position on HyperLiquid.
Instructions
Modify an existing order
Args: coin: Trading pair order_id: Order ID to modify new_size: New order size new_price: New order price
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": {
"coin": "<coin>",
"order_id": "<order_id>",
"new_size": "<new_size>",
"new_price": "<new_price>"
},
"name": "modify_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | ||
| new_size | Yes | ||
| order_id | Yes | ||
| new_price | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||