gradeNot graded
get_maze_stateAnswer
Return the current maze dimensions, player location, exit, visited cells, status, and move metadata.
View tool JSON
{
"name": "get_maze_state",
"kind": "answer",
"impl": "imperative",
"description": "Return the current maze dimensions, player location, exit, visited cells, status, and move metadata.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}get_player_stateAnswer
Return the current player position, game status, move count, elapsed time, and whether the player escaped.
View tool JSON
{
"name": "get_player_state",
"kind": "answer",
"impl": "imperative",
"description": "Return the current player position, game status, move count, elapsed time, and whether the player escaped.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}get_available_movesAnswer
List the legal moves from the current player position without walking through doors or walls.
View tool JSON
{
"name": "get_available_moves",
"kind": "answer",
"impl": "imperative",
"description": "List the legal moves from the current player position without walking through doors or walls.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}move_playerAction
Move the player one cell in a valid direction: up, down, left, or right.
View tool JSON
{
"name": "move_player",
"kind": "act",
"impl": "imperative",
"description": "Move the player one cell in a valid direction: up, down, left, or right.",
"inputSchema": {
"type": "object",
"properties": {
"direction": {
"type": "string",
"enum": [
"up",
"down",
"left",
"right"
],
"description": "Move direction."
}
},
"required": [
"direction"
],
"additionalProperties": false
}
}restart_gameAction
Reset the current maze to its starting position using the game’s existing restart flow.
View tool JSON
{
"name": "restart_game",
"kind": "act",
"impl": "imperative",
"description": "Reset the current maze to its starting position using the game’s existing restart flow.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}get_game_statusAnswer
Return the current game status, move count, elapsed time, and relevant player and exit positions.
View tool JSON
{
"name": "get_game_status",
"kind": "answer",
"impl": "imperative",
"description": "Return the current game status, move count, elapsed time, and relevant player and exit positions.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}find_solutionAnswer
Compute a valid route from the current player position to the exit using BFS on the maze grid.
View tool JSON
{
"name": "find_solution",
"kind": "answer",
"impl": "imperative",
"description": "Compute a valid route from the current player position to the exit using BFS on the maze grid.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}execute_solutionAction
Execute a previously computed route on the live maze. Use this after find_solution when the user asks the agent to actually play the game.
View tool JSON
{
"name": "execute_solution",
"kind": "act",
"impl": "imperative",
"description": "Execute a previously computed route on the live maze. Use this after find_solution when the user asks the agent to actually play the game.",
"inputSchema": {
"type": "object",
"properties": {
"path": {
"type": "array",
"items": {
"type": "string",
"enum": [
"up",
"down",
"left",
"right"
]
}
}
},
"required": [
"path"
],
"additionalProperties": false
}
}