{"ok":true,"site":{"host":"tiefighter.cocode.dk","url":"https://tiefighter.cocode.dk/","type":"live","desc":"Play the TIE Fighter game in your browser. Fly a low-poly ship, shoot X-wings, and defend your sector with keyboard or touch controls. Launch your fighter.","tools":[{"name":"get_game_state","kind":"answer","impl":"imperative","description":"Read selected shipType, cannonCount, activeLasers, mode, score, runKills, enemy type/points/escapePenalty, best score, career kills, rank, medals, honors, hull health, kills until full repair, escapes, incoming laser positions and velocities, ship positions, flight bounds, and active shots. Player lasers travel toward negative Z; enemy lasers toward positive Z.","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/fa/"]},{"name":"start_game","kind":"act","impl":"imperative","description":"Start or reset a run, optionally choosing fighter or interceptor; otherwise keep the selected ship.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"shipType":{"type":"string","enum":["fighter","interceptor"],"description":"Craft to fly in the new run."}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/fa/"]},{"name":"pause_game","kind":"act","impl":"imperative","description":"Pause flight and cancel active control input. Leaves an inactive game unchanged.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/fa/"]},{"name":"resume_game","kind":"act","impl":"imperative","description":"Resume a paused run; use start_game for a new run.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/fa/"]},{"name":"control_fighter","kind":"act","impl":"imperative","description":"Fly and/or shoot using the same controls as WASD/arrow keys and Space for a bounded duration of game time, then release and return state with a completion status. Requires playing mode. Await completion before issuing another control; keyboard input, pause, restart, game over, or cancellation interrupts it.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"horizontal":{"type":"integer","enum":[-1,0,1],"description":"-1 left, 0 neutral, 1 right."},"vertical":{"type":"integer","enum":[-1,0,1],"description":"-1 down, 0 neutral, 1 up."},"fire":{"type":"boolean","description":"Hold the fire button; defaults to false."},"duration_ms":{"type":"integer","minimum":50,"maximum":3000,"description":"Duration; defaults to 250 ms."}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/fa/"]}],"category":"Media & Personal","favicon":"/favicons/tiefighter.cocode.dk.png","apiSurface":"spec","toolCount":5}}