{
  "spec": "webmcp/0.1",
  "version": "0.1",
  "name": "Microduck Sumo",
  "description": "Shared dohyo on Muretai. Person already in a tab: in-page WebMCP tools on /. Alone: Agent Entry — GET /.well-known/agent-card.json.",
  "url": "https://microduck.demo.muretai.com/",
  "page": "/",
  "runtime": "in-page",
  "tools": [
    {
      "name": "arena_look",
      "description": "Read the shared arena as numbers. Decide ONLY on field phase.",
      "inputSchema": { "type": "object", "properties": {} }
    },
    {
      "name": "arena_take",
      "description": "Claim a duck on this tab's identity. Name max 20. Refused when phase is live|results.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": { "type": "string", "description": "Robot name shown on the dohyo (max 20)." }
        }
      }
    },
    {
      "name": "arena_drive",
      "description": "Walk this tab's duck in BODY frame. Held until the next command.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "vx": { "type": "number", "description": "Forward (+) / backward (−), max 0.3 m/s." },
          "vy": { "type": "number", "description": "Left (+) / right (−), max 0.3 m/s." },
          "vyaw": { "type": "number", "description": "Yaw left (+) / right (−), max 1.5 rad/s." },
          "ms": { "type": "number", "description": "Hold duration in milliseconds (1–8000)." }
        }
      }
    },
    {
      "name": "arena_skill",
      "description": "One-shot: stop, enable, sit_toggle, kick_left, kick_right, ground_pick, roulade, reset.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": { "type": "string", "description": "stop | enable | sit_toggle | kick_left | kick_right | ground_pick | roulade | reset" }
        },
        "required": ["name"]
      }
    },
    {
      "name": "arena_leave",
      "description": "Release this tab's duck. Live leave is a forfeit.",
      "inputSchema": { "type": "object", "properties": {} }
    }
  ],
  "site": {
    "name": "Microduck Sumo",
    "description": "Shared Microduck sumo dohyo. In-page tools run on /.",
    "pages": [
      {
        "url": "/",
        "intents": ["arena_look", "arena_take", "arena_drive", "arena_skill", "arena_leave"]
      }
    ]
  },
  "agentEntry": {
    "card": "/.well-known/agent-card.json",
    "when": "alone"
  }
}
