Head to head
get_head_to_headUse to compare two teams' history: recent meetings with scores, the win/loss record between them, and average margin, over one season or every meeting since 1999, where our games start. Costs 10 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": {
"team1": "<team1>",
"team2": "<team2>"
},
"name": "get_head_to_head"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max games (default 20) | |
| team1 | Yes | First team code | |
| team2 | Yes | Second team code | |
| season | No | Season year. Omit for every meeting since 1999. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| games | Yes | ||
| team1 | Yes | ||
| team2 | Yes | ||
| record | Yes | ||
| total_games | Yes | ||
| avg_margin_team1 | Yes |