Search Players
search_players"Find NBA player [name]" / "search NBA roster for [X]" / "is [player] in the NBA" — search NBA players by name on BallDontLie. Returns position, height, weight, college, country, draft info, and current team. NOTE: per-season averages (PPG/RPG/APG) and career stats are NOT in this response — those require BallDontLie's ALL-STAR tier ($9.99/mo at https://www.balldontlie.io/) via the /season_averages endpoint, which is not currently exposed by Pipeworx. Free-tier _apiKey works for this tool.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "LeBron James"
},
"name": "search_players"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (default: 10, max: 100) | |
| query | Yes | Player name or partial name to search for | |
| _apiKey | Yes | BallDontLie API key |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query for player names | |
| total | Yes | Total count of matching players | |
| players | Yes | List of matching players | |
| returned | Yes | Number of players returned in this response |