player_upcoming_chests

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

Clash Royale official API — upcoming chest cycle for a player tag: chest type and position index for the next chests in queue.

Parameters

NameTypeRequiredDescription
tagstringyes

Example call

Arguments

{
  "tag": "#2P8888R"
}

curl

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_upcoming_chests","arguments":{"tag":"#2P8888R"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('player_upcoming_chests', {
  "tag": "#2P8888R"
});

Response shape

Always returns: items, count

FieldTypeDescription
itemsarray
countintegerNumber of items returned.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Chest name"
          },
          "index": {
            "type": "number",
            "description": "Position in chest queue"
          }
        }
      }
    },
    "count": {
      "type": "integer",
      "description": "Number of items returned."
    }
  },
  "required": [
    "items",
    "count"
  ]
}

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 July 6, 2026