add_sheet
Add a new sheet to the active drawing after the last one; create a blank sheet or copy an existing sheet with its views, dimensions, and annotations.
Instructions
Add a sheet to the active drawing, after the last one, and make it active (activate: false keeps the current sheet active). A blank sheet has the size of the current sheet unless sheet_size is given, and has no views or title block. With copy_from {drawing, sheet} the sheet is copied, with its views, dimensions and annotations, from that sheet of an open drawing (drawing defaults to this one; open another drawing first with open_document). The copy keeps its source's size, so sheet_size cannot be combined with copy_from. After a copy the result says how many views and dimensions came across and lists every dangling dimension (not attached to the model) in dangling_dimensions. A name that is empty, already used, or contains any of / \ : * ? " < > | is refused and nothing changes. list_drawing_views shows the sheets; activate_sheet switches between them.
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": {
"name": "<name>"
},
"name": "add_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new sheet (not used yet; at most 50 characters) | |
| activate | No | Make the new sheet the active sheet | |
| copy_from | No | Copy a sheet instead of adding a blank one | |
| sheet_size | No | Size of a blank sheet, landscape (default: the size of the current sheet) |