get_orders_by_customer_id
Retrieve all orders for a specific customer by providing their customer ID. Quickly access order history for customer service or analytics.
Instructions
Retrieve all orders for a specific customer by ID.
Args:
customer_id: The customer ID to search for
Returns:
Dict containing the customer's orders or error information
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": {
"customer_id": "<customer_id>"
},
"name": "get_orders_by_customer_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |