Head to head
v3_head_to_headGet past meetings between two football teams and a won/drawn/lost summary for the selected team by scanning recent matches across competitions.
Instructions
Get the past meetings of two football teams with a won/drawn/lost summary for team_id.
No upstream head-to-head page: this scans the last depth*24 matches of team_id (all competitions) for the opponent; raise depth to look further back. Each meeting has an id for v3_match.
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_id": "<team_id>",
"opponent_id": "<opponent_id>"
},
"name": "v3_head_to_head"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Pages of 24 matches to scan (5 is about 4 seasons). | |
| limit | No | Newest first. | |
| team_id | Yes | Team id from v3_search or v3_standings, e.g. 6 (Perspolis). | |
| opponent_id | Yes | Team id from v3_search or v3_standings, e.g. 6 (Perspolis). |