stitch_sheets
Combine 2–4 plan sheets into a composite surface, align match lines, and measure continuously across seams once member sheets share calibrated scales.
Instructions
Stitch 2–4 plan sheets together into a composite working surface across match-lines (#161) — the browser canvas's Stitched Sheets feature. Shapes traced on the returned stitch reference bind to the composite key ("stitch:") and measure continuously across seam boundaries once aligned. By default sheets create in auto-butt layout (aligned: false). Use align_stitch with two matching reference points to align sheets across their match line and run the automated linework seam check; measuring across a seam on an unaligned or withheld stitch is refused. Member sheets must have calibrated, matching scales. Coordinates are image px at render scale 2.0: PDF pt × 2, origin top-left, y down (the browser canvas's native space). Sheet payloads carry dims in both px and pt.
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": {
"sheets": "<sheets>"
},
"name": "stitch_sheets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional human-readable label for the composite sheet (defaults to "Stitched sheets") | |
| align | No | Two-point match line alignment | |
| sheets | Yes | 2–4 sheet keys or sheet numbers to stitch together | |
| members | No | Explicit member sheet placements in image px (alternative to auto-butt or align) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the stitched surface | |
| note | Yes | ||
| scale | Yes | Scale status inherited from member sheets, if all member scales agree | |
| extent | Yes | Composite surface dimensions in image px at render scale 2.0 | |
| aligned | Yes | true = aligned across match lines; false = starting auto-butt layout | |
| members | Yes | Member sheet placements within the composite surface | |
| stitch_id | Yes | The created composite surface key (starts with stitch:) | |
| seam_check | No | Seam linework check results when align was provided |