locations
Pack: clash-royale · Endpoint: https://gateway.pipeworx.io/clash-royale/mcp
Locations.
Example call
Arguments
{}
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":"locations","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('locations', {});
Response shape
Always returns: items, count
| Field | Type | Description |
|---|---|---|
items | array | |
count | integer | Number of items returned. |
Full JSON Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Location ID"
},
"name": {
"type": "string",
"description": "Location name"
},
"isCountry": {
"type": "boolean",
"description": "Is a country"
}
}
}
},
"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.