navigate_console
Navigate the grandMA2 console object tree using cd commands to reach root, parent levels, indexes, or named objects, and parse the prompt to confirm the current location.
Instructions
Navigate the grandMA2 console's object tree using ChangeDest (cd).
Sends a cd command and captures the raw telnet response, attempting
to parse the resulting console prompt to determine the current
location in the object tree.
EXPLORATORY: The exact MA2 telnet prompt format is being validated.
The raw_response field always contains the unmodified telnet output
for manual inspection, regardless of whether parsing succeeded.
Args:
destination: Navigation target. Supported formats:
- "/" to go to root
- ".." to go up one level
- A number (e.g., "5") to navigate by index
- An object type (e.g., "Group") when object_id is provided
(uses dot notation: cd Group.1)
- A quoted name (e.g., '"MySequence"') to navigate by name
object_id: Object ID, produces dot notation cd [type].[id]
(e.g., destination="Group", object_id=1 → cd Group.1)
Returns:
str: JSON with command_sent, raw_response, parsed prompt details,
and success indicator.
Examples:
- Navigate to root: destination="/"
- Go up one level: destination=".."
- Navigate to Group 1: destination="Group", object_id=1 → cd Group.1
- Navigate by index: destination="5"
- After navigating, use list_console_destination to enumerate objects
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": {
"destination": "<destination>"
},
"name": "navigate_console"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_id | No | ||
| destination | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |