get_order_by_client_id
Retrieve an order using its client-assigned ID. If replaced, returns the original order with the new order ID reference.
Instructions
Retrieves a single order specified by the client order ID. Note: if the order was replaced, this returns the original order (status "replaced") with a replaced_by field pointing to the new order ID.
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": {
"client_order_id": "<client_order_id>"
},
"name": "get_order_by_client_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_order_id | Yes | The client-assigned order ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||