recent_matches
Retrieve a specified number of an ATP player's matches on or before a given date, returning tournament, round, opponents, score, and match duration.
Instructions
Look ups recent matches on or before date (YYYY-MM-DD) of specified player by player id (get a player's id from search_player). Specify number of matches and ending date. Matches are ordered newest first. Defaults to the most recent matches; capped at 100. Returns tournament name, tournament date, round, winner name, winner seed, winner rank, loser name, loser seed, loser rank, score, minutes for each match. Currently only works for ATP Matches.
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": {
"pid": "<pid>",
"num_matches": "<num_matches>"
},
"name": "recent_matches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| date | No | ||
| num_matches | Yes |