lookup_order
Retrieve order status and delivery information for an authenticated customer using their order ID and customer ID, ensuring the customer is authorized to access the order details.
Instructions
Look up an order belonging to an authenticated customer.
Args: order_id: The order identifier, for example ORD-1002.
customer_id:
The authenticated customer identifier, for example CUS-002.Returns: Customer-safe order status and delivery information when the customer is authorized to access the order.
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>",
"customer_id": "<customer_id>"
},
"name": "lookup_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | ||
| customer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||