Surface splits
get_surface_splitsUse for a player's record by surface (hard, clay, grass, carpet), qualifying included: wins, losses, win rate, sets, share of games won, tiebreaks, deciding sets and 6-0 sets, plus the current surface ratings. For one season or the whole career; by_season splits each surface by year. Tour: atp (default) or wta; on the shared endpoint pass league: "wta" for the WTA. Costs 3 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_surface_splits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| league | No | League. Defaults to tennis. One of: tennis, wta. | |
| season | No | Year (default the whole career). | |
| by_season | No | Split each surface by season. | |
| player_id | Yes | Player id from search_players. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tour | Yes | ||
| season | Yes | ||
| splits | Yes | ||
| overall | Yes | ||
| ratings | Yes | ||
| player_id | Yes |