Components Geometry
components_geometrySet absolute pixel positions and sizes for 1–100 ungrouped top-level components in one previewed page write, preserving unspecified geometry and supporting restore.
Instructions
Set absolute pixel positions/sizes for 1–100 components in one page write.
Only ungrouped top-level leaf components on a static canvas. Load the page with report_refresh first; use page_get's fingerprint. Unspecified geometry and all unknown fields are retained. Values truncate toward zero to whole pixels; preview shows requested and after values. Dimensions must remain at least one pixel. Does not scale children, change layers, or change rotation. Supports preview, durable journal, independent read-back and operation_restore.
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": {
"page_id": "<page_id>",
"changes": "<changes>",
"expected_fingerprint": "<expected_fingerprint>"
},
"name": "components_geometry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| dry_run | No | ||
| page_id | Yes | ||
| report_id | No | ||
| expected_fingerprint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||