scan_page_executor_layout
Scans executor slots on a grandMA2 page and maps occupied, blocked, and free ranges so you can verify adjacent slots are free before setting an executor width.
Instructions
Scan a range of executors on a page and return their slot occupancy map (SAFE_READ).
Queries each executor in the range via 'List Executor page.id' (KEY=VALUE format),
extracts Name, Sequence, and Width. Builds an occupancy map showing which consecutive
slots are blocked by wide executors, and lists free slots.
Use this BEFORE setting width on an executor to confirm the adjacent slot is free.
A width=2 executor at slot N blocks slot N+1; the console will silently fail or wrap
if N+1 is already occupied.
Args:
page: Page number to scan (default 1).
executor_id_start: First executor ID to check (default 201).
executor_id_end: Last executor ID to check (default 240).
Returns:
str: JSON with:
- executors: list of {id, name, sequence, width, slots_occupied}
- blocked_slots: set of slot IDs consumed by multi-wide executors
- free_slots: slot IDs in range with no assignment
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scan_page_executor_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| executor_id_end | No | ||
| executor_id_start | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |