schwab_replace_order
Modify an existing Schwab order by submitting a new order specification using the account hash and order ID.
Instructions
Replace (modify) an existing Schwab order.
Args:
account_hash: Account hash from schwab_account_numbers
order_id: ID of the order to replace
order_spec: New order specification dict (use order builder helpers)
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": {
"account_hash": "<account_hash>",
"order_id": "<order_id>",
"order_spec": "<order_spec>"
},
"name": "schwab_replace_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_hash | Yes | ||
| order_id | Yes | ||
| order_spec | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||