Get matches
get_matchesLive, upcoming, or historical matches for a sport or league. Required: sport. Optional: league, date, season, status, limit. Returns each match with id, sport, league, home/away teams with canonical team IDs, kickoff_utc, status, score, linescore, has_odds. Pass home.id or away.id to get_team_elo.
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": {
"sport": "<sport>"
},
"name": "get_matches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ISO date (YYYY-MM-DD) or 'today'. Omit for the live/upcoming window. | |
| limit | No | Max rows, default 50, max 200. | |
| sport | Yes | Sport, e.g. american_football, basketball, baseball. | |
| league | No | League key, e.g. nfl, nba, mlb. Omit for all leagues in the sport. | |
| season | No | Explicit season year. Requesting further back than your plan covers returns a plan-upgrade message, not the data. | |
| status | No | Filter to one match status. |