modify_order
Modify an existing stock order's price or quantity to adjust your trading position. Change order type between limit and market as needed.
Instructions
주문 정정 (가격/수량 변경). ⚠️ 실제 주문이 변경됩니다.
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": {
"orderId": "<orderId>",
"orderType": "<orderType>"
},
"name": "modify_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | 변경할 가격 (LIMIT일 때 필수) | |
| orderId | Yes | 정정할 주문 ID | |
| quantity | No | 변경할 수량 (KR 주식 필수, 양의 정수 문자열) | |
| orderType | Yes | 변경할 호가 유형 | |
| accountSeq | No | 계좌 accountSeq. 미지정 시 TOSS_ACCOUNT_SEQ 환경변수 사용. get_accounts로 조회 가능 | |
| confirmHighValueOrder | No | 1억원 이상 주문 확인 플래그 |