modify_order
Change the price or quantity of an existing order in Toss Securities, with an optional confirmation for high-value modifications. Places a real change.
Instructions
Modify an existing order (주문 정정). PLACES A REAL change.
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 | New price (LIMIT only) | |
| order_id | Yes | Order id to modify | |
| quantity | No | New quantity | |
| account_id | No | Account number; falls back to TOSS_DEFAULT_ACCOUNT | |
| order_type | Yes | LIMIT or MARKET | |
| confirm_high_value_order | No | Confirm high-value modification |