Price Book Grid
get_price_book_gridA bounded page of a price book's pricing surface: its spec attribute schema (which cost-driver attributes key the grid) and quantity breaks (each row carries its own isActive flag): spec key, minimum quantity, unit cost, flat setup cost. Returns totalBreaks and hasMore; request the next page with offset + breaks.length. Defaults to 100 rows and never returns more than 200, so large grids stay below MCP tool-result limits.
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": {
"bookId": "<bookId>"
},
"name": "get_price_book_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows to return (default 100, max 200). | |
| bookId | Yes | The price book id (GUID). | |
| offset | No | Zero-based row offset (default 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| book | No | ||
| limit | No | ||
| breaks | No | ||
| offset | No | ||
| hasMore | No | ||
| nextOffset | No | ||
| totalBreaks | No | ||
| returnedBreaks | No |