Head to head
get_head_to_headPast meetings between two teams with scores and stats, plus match-total averages and line frequencies across those meetings.
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_a": "<team_a>",
"team_b": "<team_b>"
},
"name": "get_head_to_head"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stats | No | Stats to include. Any of: goals, corners, corners_1h, corners_2h, yellow_cards, red_cards, total_cards, booking_cards, fouls, throw_ins, offsides, goal_kicks, shots_total, shots_on_target, shots_off_target, shots_blocked, xg, possession, saves, tackles, crosses. Default: goals, corners, total_cards. | |
| last_n | No | Meetings to include. Default 5 (free max 5). | |
| team_a | Yes | First team (name, nickname or id). | |
| team_b | Yes | Second team. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_a | Yes | ||
| team_b | Yes | ||
| meetings | Yes |