Count sheets
count_sheetsCalculates total sheets per material needed for a cabinet job, giving bid and ordering totals without cut layouts. Returns sheet counts, yield percentages, and oversize-part warnings.
Instructions
Count how many full sheets each material in the job needs (quick material takeoff).
Use for bids and ordering ("how many sheets of melamine do I need?"). It runs the same panel-saw nesting as nest_sheets for every material but returns only the totals; call nest_sheets when someone needs the layouts.
Returns: {job_number, sheet_size, materials: {code: {sheets, yield_pct, oversize_parts}}}. oversize_parts counts parts that do not fit the sheet and need a bigger sheet or a joint.
Example: the bundled sample kitchen (8 cabinets) returns 9 sheets of 3/4" case material and 3 sheets of 1/4" back on 48 x 96 sheets.
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": {
"job": "<job>"
},
"name": "count_sheets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | The cabinet job: job_number, material codes and the cabinets list (inches). | |
| sheet_width | No | Sheet width in inches. Default 48. | |
| sheet_length | No | Sheet length in inches. Default 96. |