List my orders
list_ordersList your owner's orders, newest first, a page at a time: order_id, item, amount, status and created_at, orders waiting for approval included (get_order for one in full). Pass next_before as before for the next page; it is null on the last.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 10,
"before": "ord_exampleexampleexample2"
},
"name": "list_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many (default 20). | |
| before | No | next_before of the page before; leave out for the first page. | |
| passport_token | No | Your amp_ token, only if you have no app sign-in and cannot send a header. |