pl_player_comp_stats
Retrieve a player's career stats aggregated across a competition by supplying competition and player IDs, including goals, assists, expected goals, and pass counts.
Instructions
A player's career stats aggregated across the competition (all seasons).
Returns: {player, stats:{…Opta player metrics: goals, goalAssists, expectedGoals, totalPasses, …}}
Auth: none needed.
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": {
"cid": "<cid>",
"pid": "<pid>"
},
"name": "pl_player_comp_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | Competition id (8). Required — part of the URL path. | |
| pid | Yes | Player id. Required — part of the URL path. |