list_orders
Retrieve recent purchase or sales orders with supplier/customer names, totals, and status. Use type=purchase or type=sales to filter.
Instructions
List recent purchase orders or sales orders from VNDLY, with supplier/customer names, totals, and status. Use type=purchase for supplier orders, type=sales for customer orders.
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": {
"type": "<type>"
},
"name": "list_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Order type: purchase (supplier orders) or sales (customer orders). | |
| limit | No | Number of orders to return (default: 20, max: 50). | |
| status | No | Filter by order status, e.g. draft, confirmed, received, shipped, closed. |