laliga_competition
Fetch a La Liga competition by its slug to obtain id, name, and opta_id. Use slugs like primera-division for direct access.
Instructions
One competition by SLUG (e.g. primera-division). Numeric id 404s — use the slug.
Returns: {competition:{id, slug, name, opta_id}}
Auth: works without a key; LALIGA_SUBSCRIPTION_KEY unlocks more if set.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "laliga_competition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Competition slug (primera-division, segunda-division, primera-division-femenina). Required — part of the URL path. |