get_head_to_head
Compile the complete head-to-head record between two national teams across all FIFA World Cup matches, with optional filtering by gender and year range.
Instructions
Find every World Cup meeting between two countries and aggregate the results.
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 |
|---|---|---|---|
| gender | No | men | |
| team_a | Yes | First country to compare. | |
| team_b | Yes | Second country to compare. | |
| to_year | No | ||
| from_year | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gender | Yes | ||
| team_a | Yes | ||
| team_b | Yes | ||
| matches | Yes | ||
| summary | Yes | ||
| to_year | Yes | ||
| from_year | Yes |