Player
get_playerUse for a player profile: date of birth, country, height, playing hand; latest ranking; our rating overall and per surface with peak; career record (wins, losses, sets, games, tiebreaks, deciding sets), titles, finals and Grand Slam titles; record by surface; and the last 10 matches. Tour: atp (default) or wta; on the shared endpoint pass league: "wta" for the WTA. Costs 5 credits.
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": {
"player_id": "<player_id>"
},
"name": "get_player"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| league | No | League. Defaults to tennis. One of: tennis, wta. | |
| player_id | Yes | Player id from search_players. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tour | Yes | ||
| player | Yes | ||
| rating | Yes | ||
| record | Yes | ||
| ranking | Yes | ||
| by_surface | Yes | ||
| recent_matches | Yes |