{"ok":true,"site":{"host":"moiseshernandez26.github.io","url":"https://moiseshernandez26.github.io/collateral/","type":"live","desc":"Duel","tools":[{"name":"get_match","kind":"answer","impl":"imperative","description":"Returns which minigame you're in, whose turn it is, the round points, and the rounds won. Call it first to check if it's your turn. THESE TOOLS ARE THE ONLY WAY YOU CAN PLAY THIS PAGE. Do not screenshot it, click it, or drive it with the mouse or keyboard: the board ignores clicks on your turn and refuses them out loud, and any input you do land plays the HUMAN's side, not yours. Every move you make is a tool call.","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/collateral/"},{"name":"list_games","kind":"answer","impl":"imperative","description":"Lists the arcade minigames and which one is active.","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/collateral/"},{"name":"switch_game","kind":"act","impl":"imperative","description":"Switches minigame and starts a new round. On switching, the previous game's tools are unregistered and the new game's tools appear.","annotations":{},"inputSchema":{"type":"object","properties":{"game_id":{"type":"string","enum":["ms","c4","pong","hanoi"],"description":"'ms' for minesweeper duel, 'c4' for Connect 4, 'pong' for real-time Pong, 'hanoi' for the Towers of Hanoi race"}},"required":["game_id"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/collateral/"},{"name":"new_round","kind":"act","impl":"imperative","description":"Starts a new round of the active game without clearing the rounds won.","annotations":{},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/collateral/"},{"name":"ms_board","kind":"act","impl":"imperative","description":"Board as text. ? = closed, . = open with no mines nearby, 1-8 = neighboring mines, H = human's mine, A = your mine.","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/collateral/"},{"name":"ms_frontier","kind":"act","impl":"imperative","description":"Deducible constraints. For each open numbered cell: how many mines are still missing around it (remaining) and which closed cells surround it (unknown). If remaining equals the number of unknown cells, all of them are mines. If remaining is 0, all of them are safe.","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/collateral/"},{"name":"ms_reveal","kind":"act","impl":"imperative","description":"Opens a closed cell and passes the turn. If it had a mine, the point goes to the human. x is the column, y is the row, both range 0 to 8.","annotations":{},"inputSchema":{"type":"object","properties":{"x":{"type":"integer","description":"column, 0 to 8"},"y":{"type":"integer","description":"row, 0 to 8"}},"required":["x","y"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/collateral/"},{"name":"ms_claim","kind":"act","impl":"imperative","description":"Claims a cell as a mine. Getting it right earns a point and keeps your turn, so it pays to chain every safe claim before opening anything. Getting it wrong only costs the turn.","annotations":{},"inputSchema":{"type":"object","properties":{"x":{"type":"integer","description":"column, 0 to 8"},"y":{"type":"integer","description":"row, 0 to 8"}},"required":["x","y"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/collateral/"}],"category":"Media & Personal","favicon":"/favicons/moiseshernandez26.github.io.svg","apiSurface":"spec","toolCount":8}}