Replace Open Order
replace_orderModify or replace an existing open Schwab order by submitting a new order payload for a given order ID, with optional dry-run and live confirmation controls.
Instructions
Replace/modify an existing open order with a new Schwab order payload.
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>",
"new_order_payload": "<new_order_payload>"
},
"name": "replace_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| dry_run | No | ||
| order_id | Yes | ||
| confirm_live | No | ||
| new_order_payload | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||