player_battles

Pack: clash-royale · Endpoint: https://gateway.pipeworx.io/clash-royale/mcp

Recent battles.

Parameters

NameTypeRequiredDescription
tagstringyes

Example call

curl -X POST https://gateway.pipeworx.io/clash-royale/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"player_battles","arguments":{}}}'

Response shape

Full JSON Schema
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "type": {
        "type": "string",
        "description": "Battle type"
      },
      "battleTime": {
        "type": "string",
        "description": "Battle timestamp"
      },
      "arena": {
        "type": "object",
        "description": "Arena info"
      },
      "gameMode": {
        "type": "object",
        "description": "Game mode details"
      },
      "deck": {
        "type": "array",
        "description": "Player deck cards"
      },
      "opponent": {
        "type": "object",
        "description": "Opponent info"
      },
      "teamCrowns": {
        "type": "number",
        "description": "Team crowns earned"
      },
      "opponentCrowns": {
        "type": "number",
        "description": "Opponent crowns"
      },
      "crowns": {
        "type": "number",
        "description": "Crowns earned by player"
      },
      "elixirLeaked": {
        "type": "number",
        "description": "Elixir leaked"
      },
      "opponentElixirLeaked": {
        "type": "number",
        "description": "Opponent elixir leaked"
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "clash-royale": {
      "url": "https://gateway.pipeworx.io/clash-royale/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 21, 2026