Tool tree
gradeNot graded
moonlight_run.get_stateAnswer
Read the complete current state of the three-stage Moonlight Run platform game, including live elapsed time, campaign and stage progress, the cat position and velocity, lives, fish, life-recovery hearts, camera yaw, all ground segments, gaps, obstacles, moving enemies, goal, and nearest upcoming objects. Call this before and between short action sequences.
View tool JSON
{
"name": "moonlight_run.get_state",
"kind": "answer",
"impl": "imperative",
"description": "Read the complete current state of the three-stage Moonlight Run platform game, including live elapsed time, campaign and stage progress, the cat position and velocity, lives, fish, life-recovery hearts, camera yaw, all ground segments, gaps, obstacles, moving enemies, goal, and nearest upcoming objects. Call this before and between short action sequences.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}moonlight_run.play_actionsAction
Execute an ordered sequence of controls in the live three-stage Moonlight Run game. Prefer 1-5 short actions, then read state again. jump_right or jump_left combines a jump with horizontal movement. Life-recovery hearts restore one life when below the three-life maximum. Calling this after stage_clear automatically enters the next stage. The tool waits until the sequence finishes and returns the complete resulting game state, including elapsed time.
View tool JSON
{
"name": "moonlight_run.play_actions",
"kind": "act",
"impl": "imperative",
"description": "Execute an ordered sequence of controls in the live three-stage Moonlight Run game. Prefer 1-5 short actions, then read state again. jump_right or jump_left combines a jump with horizontal movement. Life-recovery hearts restore one life when below the three-life maximum. Calling this after stage_clear automatically enters the next stage. The tool waits until the sequence finishes and returns the complete resulting game state, including elapsed time.",
"inputSchema": {
"type": "object",
"properties": {
"actions": {
"type": "array",
"minItems": 1,
"maxItems": 30,
"items": {
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"run_right",
"run_left",
"jump_right",
"jump_left",
"wait"
]
},
"durationMs": {
"type": "integer",
"minimum": 80,
"maximum": 2400,
"description": "How long to hold this control. Jumps usually need 650-850ms."
}
},
"required": [
"action"
],
"additionalProperties": false
}
}
},
"required": [
"actions"
],
"additionalProperties": false
}
}