demo · Playgrounds & Games · JSON · API for agents
Returns the current rocket state (status and fuel level). If the user asks to launch a rocket, automatically execute this step first without asking for confirmation.
{
"name": "get_page_state",
"kind": "read",
"impl": "imperative",
"description": "Returns the current rocket state (status and fuel level). If the user asks to launch a rocket, automatically execute this step first without asking for confirmation.",
"inputSchema": {
"type": "object",
"properties": {}
}
}Calculates the required fuel amount and oxidizer ratio based on the target trajectory.
{
"name": "calculate_fuel",
"kind": "read",
"impl": "imperative",
"description": "Calculates the required fuel amount and oxidizer ratio based on the target trajectory.",
"inputSchema": {
"type": "object",
"properties": {
"trajectory": {
"type": "string",
"description": "Launch destination, e.g. \"Moon\", \"Mars\", \"ISS\"."
}
},
"required": [
"trajectory"
]
}
}Runs system checks. Transitions from IDLE to DIAGNOSTICS. Only valid when status is IDLE.
{
"name": "run_diagnostics",
"kind": "write",
"impl": "imperative",
"description": "Runs system checks. Transitions from IDLE to DIAGNOSTICS. Only valid when status is IDLE.",
"inputSchema": {
"type": "object",
"properties": {}
}
}Loads propellants. Transitions from DIAGNOSTICS to FUELED. Only valid when status is DIAGNOSTICS.
{
"name": "load_fuel",
"kind": "write",
"impl": "imperative",
"description": "Loads propellants. Transitions from DIAGNOSTICS to FUELED. Only valid when status is DIAGNOSTICS.",
"inputSchema": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "Fuel amount in tons."
},
"oxidizer_ratio": {
"type": "number",
"description": "Oxidizer ratio (e.g., 2.5)."
}
},
"required": [
"amount",
"oxidizer_ratio"
]
}
}Transitions the system from FUELED to PREPARED. Requires the user's 4-digit auth_code — ask the user, never guess it. Only valid when status is FUELED.
{
"name": "prepare_launch",
"kind": "write",
"impl": "imperative",
"description": "Transitions the system from FUELED to PREPARED. Requires the user's 4-digit auth_code — ask the user, never guess it. Only valid when status is FUELED.",
"inputSchema": {
"type": "object",
"properties": {
"auth_code": {
"type": "string",
"description": "4-digit authorization code. Must be obtained from the user."
},
"trajectory": {
"type": "string",
"description": "Launch destination, e.g. \"Moon\" or \"Mars\"."
}
},
"required": [
"auth_code",
"trajectory"
]
}
}Fires the rocket engines, transitioning from PREPARED to LAUNCHED. Only valid when status is PREPARED — follow the full prerequisite chain first.
{
"name": "ignite_engines",
"kind": "action",
"impl": "imperative",
"description": "Fires the rocket engines, transitioning from PREPARED to LAUNCHED. Only valid when status is PREPARED — follow the full prerequisite chain first.",
"inputSchema": {
"type": "object",
"properties": {}
}
}Aborts the sequence and resets to IDLE. Valid from any state during the sequence.
{
"name": "abort_sequence",
"kind": "write",
"impl": "imperative",
"description": "Aborts the sequence and resets to IDLE. Valid from any state during the sequence.",
"inputSchema": {
"type": "object",
"properties": {}
}
}Resets the system to IDLE with full fuel. Valid from any state.
{
"name": "reset_system",
"kind": "write",
"impl": "imperative",
"description": "Resets the system to IDLE with full fuel. Valid from any state.",
"inputSchema": {
"type": "object",
"properties": {}
}
}