document.modelContext), www.smashandclash.in registers tools for the browser’s agent.
- The agent acts as the player. Moves go through the same checks a tap does.
- It sees only what the player sees. It never sees the opponent’s hand.
The page registers the tools when the browser supports WebMCP, and removes them when the page goes away. Nothing loads in browsers without it.
The
smash-and-clash-webmcp skill teaches an agent this flow: npx skills add smashandclash/plugin.