Search Players & Teams
searchUse this when you need a player_id or team_id, or the user names a player or team you have not resolved yet ('Jokic', 'Lamar Jackson', 'BOS'); it is accent- and typo-tolerant. Returns up to six matching players and four teams per league with their numeric ids (players_more and the like say there are more: narrow the query); each list's page is a template such as player_url with the id in place of {id}. Not for stats: call player_profile or team_profile with the id.
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": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Player or team name or abbreviation (e.g. "Jokic", "Lamar Jackson", "BOS"). | |
| league | No | Optional league filter ("nba" or "nfl"). Omit to search both leagues. |