Append Price Book Breaks
append_price_book_breaksAppend price breaks to a DRAFT price book without clearing what is already there — the way to load a grid too large for one call. Max 500 breaks per call. Re-sending a chunk OVERWRITES its rungs rather than failing, so an import interrupted midway is resumed by simply re-sending from the last chunk you are sure about. Refused on an active book: use replace_price_book_breaks, which flags dependent quotes stale. Every cost-driver attribute must appear in each break's specKey or the break could never resolve. A chunk is validated against the book as it stands when the write reaches it, so if another caller renamed an attribute key or published the book while your chunk was in flight you get a VALIDATION_ERROR naming what moved — re-read with evaluate_price_book and re-key the chunk rather than re-sending it unchanged.
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>",
"breaks": "<breaks>"
},
"name": "append_price_book_breaks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bookId | Yes | The DRAFT price book id (GUID). | |
| breaks | Yes | Breaks to add (max 500): specKey (all cost-driver attribute values, e.g. {"trim": "6x9", "binding": "perfect"}), minimumQuantity, unitCost, setupCost, isActive. | |
| expectedTotalBreaks | No | Optional total rows expected in the finished grid. Supply it on every chunk to receive remainingBreaks, progressPercent, and an exact next-tool recommendation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| added | No | ||
| bookId | No | ||
| updated | No | ||
| nextAction | No | ||
| totalBreaks | No | ||
| maxRowsPerChunk | No | ||
| progressPercent | No | ||
| remainingBreaks | No | ||
| processedInChunk | No | ||
| expectedTotalBreaks | No | ||
| recommendedNextTool | No |