List Price Lists
list_price_listsList the tenant's customer price lists, as the Price lists page does: name, code, status (Draft, Active or Archived), validity window (validFrom through validUntil, tenant-local days, both included), whether it prices today, whether its prices are net (no discount taken off), how it prices unlisted items, whether it is the tenant default, and its active line and assignment counts. Filter by status or a name/code search. With priceList (id or code) it also returns that list's assignments and one page of its lines (linesLimit default 100, max 500). To see what a customer pays, call resolve_customer_price. Requires an operator (unpinned) credential and a User.
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_price_lists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Optional case-insensitive substring of the name or code. | |
| status | No | Optional status filter: draft, active or archived. | |
| priceList | No | Optional price list id (GUID) or code: add its assignments and a page of its lines. | |
| linesLimit | No | With priceList: lines per page (default 100, max 500). | |
| linesOffset | No | With priceList: zero-based line offset (default 0). | |
| includeInactiveLines | No | With priceList: true also returns inactive lines. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| today | No | ||
| total | No | ||
| linesLimit | No | ||
| priceLists | No | ||
| totalLines | No | ||
| assignments | No | ||
| linesOffset | No |