Team H2H
team_h2hRetrieve head-to-head records and statistics between two teams, regardless of who controlled them, with filters for era, date range, venue, format, and recent meetings.
Instructions
Head-to-head record of two teams regardless of who controlled them (player names are shown in last_matches). Same statistics as player_h2h. Note: in some leagues players are bound to teams for a period (see data_notes), then team stats effectively measure the player.
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": "team_h2h"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| era | No | 'current' (default), 'all', or an era id such as 'FC26' | current |
| since | No | First Battle day to include, YYYY-MM-DD | |
| until | No | Last Battle day to include, YYYY-MM-DD | |
| venue | No | Stamford Bridge, Old Trafford, Wembley, San Siro, Bernabeu (8 min) or Anfield, Etihad (12 min) | |
| format | No | Match length | |
| last_n | No | Use the most recent N meetings | |
| team_a | Yes | First team name | |
| team_b | Yes | Second team name | |
| turnus | No | Block number within the Battle day (1-11 for 8 min, 1-8 for Latest/12 min) | |
| session | No | Session, derived from the turnus | |
| time_to | No | Latest local kick-off time HH:MM | |
| last_days | No | Only the last N Battle days (overrides since) | |
| time_from | No | Earliest local kick-off time HH:MM (window may wrap midnight) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||