Get Head-to-Head Rivalry & Matchup Preview
get_head_to_headCompare two tennis players, UFC fighters, or esports teams using historical head-to-head records, series tallies, surface/map splits, past scorelines, and optional pre-match form previews.
Instructions
Retrieve the historical head-to-head rivalry record and optional pre-match comparison between two tennis players, UFC fighters, or esports teams (sideA vs sideB), including series tally, surface/map splits, and past meeting scorelines.
When to use:
Pre-match matchup previews and historical rivalry lookups (e.g. "Alcaraz vs Sinner", "T1 vs Gen.G", "Pereira vs Adesanya").
Do not use when:
Looking up a single side's full match history against all opponents; call get_player_profile or get_team_profile instead.
Returns: Overall head-to-head record, surface/map split, chronological meeting history, and optional side-by-side form preview. API calls: 1-3.
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": {
"game": "<game>",
"sideA": "<sideA>",
"sideB": "<sideB>"
},
"name": "get_head_to_head"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | Game title: lol | cs2 | dota2 | cod | ufc | tennis | valorant. Example: "cs2". | |
| limit | No | Maximum historical meetings returned (default 20, max 50). | |
| sideA | Yes | First player, fighter, or team ID/slug/name. | |
| sideB | Yes | Second player, fighter, or team ID/slug/name. | |
| includePreview | No | Include side-by-side recent form and pre-match comparison. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true if the tool succeeded | |
| data | No | Result payload when ok is true; null on error | |
| meta | Yes | ||
| error | No | ||
| partial | No | ||
| pagination | No |