Layout of a view
layout_viewComputes the schematic layout for a project or subsystem view, listing block positions and sizes plus page frames. Use it to place blocks and pages without guessing.
Instructions
Run the schematic layout for one view (the project, or a subsystem's drill-down) and list every block's position and size and every print page's frame, so blocks and pages can be placed without guessing. Block x, y are relative to the block's own subsystem (what set_block_positions takes); ax, ay are absolute in the view (what pages use). Pages are a fixed 1504 × 800 frame; automatic pages (auto:0, auto:1…) cover whatever no placed page holds. Takes a few seconds, up to ~15 s on a large project.
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": {
"project_id": "<project_id>"
},
"name": "layout_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subsystem | No | Subsystem whose drill-down view this is (name or id). Omit for the project view. | |
| project_id | Yes |