Customer order history
customer_ordersRetrieve customer orders by searching customer ID, email, or partial name; results include joined line items.
Instructions
Look up a customer by id, email or partial name, and return their orders with line items already joined.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "customer_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Partial match against the customer name. Space-separated terms are ANDed and order does not matter, so both "佐藤 陽菜" and "陽菜 佐藤" find 佐藤 陽菜. | |
| No | |||
| limit | No | Maximum number of orders to return. | |
| customer_id | No |