select_executor
Selects a single executor on a grandMA2 console by ID, optionally page-qualified, and can clear the current selection. Confirms the selected executor or returns a warning on mismatch.
Instructions
Select an executor on the console.
IMPORTANT: MA2 telnet 'select executor N' is single-selection only — there
is no list syntax. You cannot select multiple executors simultaneously via
this command. Pass only a single executor_id integer.
After sending the command, $SELECTEDEXEC is read back to confirm the
selection took effect. A 'warning' field is included in the response if
the confirmed value does not match the requested executor_id.
To clear the current selection, pass deselect=True. This sends a bare
'select' command with no argument. NOTE: bare 'select' behaviour is
unverified on grandMA2 telnet — it may clear selection, be silently
ignored, or produce an error. Inspect 'raw_response' to confirm.
Args:
executor_id: Executor number (1-999). Single value only.
page: Page number for page-qualified addressing (optional).
e.g. page=2, executor_id=5 → 'select executor 2.5'.
$SELECTEDEXEC returns the executor number only (not page-qualified).
deselect: If True, send bare 'select' to clear the current selection
instead of selecting executor_id. Defaults to False.
Returns:
str: JSON with command_sent, raw_response, confirmed_selected_exec,
and risk_tier. Includes 'warning' if confirmed value doesn't match.
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": {
"executor_id": "<executor_id>"
},
"name": "select_executor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| deselect | No | ||
| executor_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |