List requests and orders
list_ordersThe client's purchase requests and orders, newest first, with their state in UniVend's words (e.g. purchased by UniVend, invoiced, paid). Requires an agent authorised by a signed-in client.
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": "list_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the answer: bg (Bulgarian) or en (English). | |
| limit | No | ||
| state | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orders | Yes |