Head to head
get_head_to_headUse for two clubs' meetings in this competition in our data, which starts in 2001-02 in the oldest leagues: wins, draws and goals each, the first meeting we hold, and the results newest first. Costs 2 credits.
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": {
"team": "<team>",
"opponent": "<opponent>"
},
"name": "get_head_to_head"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes | Club id, abbreviation or name. | |
| limit | No | Max results listed (default 20); the summary counts every meeting. | |
| league | No | League. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina. | |
| opponent | Yes | The other club. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| count | Yes | ||
| games | Yes | ||
| teams | Yes | ||
| summary | Yes |