Order items
ametller_get_order_itemsList products from a past order. Provide an order ID to retrieve specific items, or omit to get the latest order's contents.
Instructions
List the products in a past order (without adding anything). Defaults to the most recent order if order_id is omitted.
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": "ametller_get_order_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | No | Order id from ametller_get_purchase_history; default = latest order |