search_orders
Search all years of Amazon order history by product title, order number, address, or recipient to find matching items with their order number and date.
Instructions
Search every year of the Order history for Orders by product title, Order number, address, or recipient, as the search box on Your Orders does, getting each matching Item with its Order's number and date.
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": {
"query": "<query>"
},
"name": "search_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The Amazon site to read, e.g. `amazon.de`, since each site has its own orders. By default, the user's default site (see `check_session`). | |
| limit | No | Stop fetching result pages once at least this many results are collected. Whole pages are fetched, so the batch can hold up to a page more than `limit`. `None` fetches every page. | |
| query | Yes | What to search for: words from a product title, an Order number, or a name or address an Order was sent to. | |
| cursor | No | The `cursor` of the previous batch, to fetch the next one. | |
| account | No | Another Amazon account to read, e.g. `spouse`, only when the user asks about that person (see `check_session`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | The results in this batch. | |
| cursor | No | Pass this back as `cursor` to the same call to fetch the next batch. A JSON-safe `dict` to keep as it is, not to build or change. `None` when there are no more results. | |
| has_more | No | `True` if there are more results to fetch with `cursor`. |