Teams Search
teams_searchSearch ESPN’s entity index by name to find athlete, team, or league IDs; set type to 'team' for teams, otherwise it searches athletes.
Instructions
Search ESPN's entity index by name to find an athlete ID, team ID, or league. Set type='team' for team names such as 'San Francisco 49ers'; type defaults to 'player', so omitting it searches athletes. For a team's games on a particular date, use the scoreboard tool directly when it is available, since it needs no team ID; otherwise use this search for the team ID. Returns IDs and display names for follow-up team or athlete tools.
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": {
"query": "<query>"
},
"name": "teams_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Entity kind to search: 'player' for athletes, 'team' for team names, or 'league' for leagues. Defaults to 'player'; set this to 'team' when searching for a team. | player |
| limit | No | ||
| query | Yes |