head_to_head
Retrieve the career matchup record between two ATP or WTA players by passing their player IDs, so you can compare their historical results.
Instructions
Career head-to-head record between two players (ATP and WTA). Pass each player's id separately. (get a player's id from search_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": {
"p1_id": "<p1_id>",
"p2_id": "<p2_id>"
},
"name": "head_to_head"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p1_id | Yes | ||
| p2_id | Yes |