modify_order
Modify an open order's price or quantity, with support for both Korean and US stocks. Specify quantity for KR stocks, or adjust price for limit orders.
Instructions
Modify an open order's price/quantity. Requires TOSS_ENABLE_TRADING=true.
KR stocks: quantity required (positive integer string). US stocks: quantity not supported (omit it). LIMIT requires price; MARKET must omit 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": {
"order_id": "<order_id>",
"order_type": "<order_type>"
},
"name": "modify_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | ||
| order_id | Yes | ||
| quantity | No | ||
| order_type | Yes | ||
| account_seq | No | ||
| confirm_high_value_order | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||