search_players
Resolve a player's canonical person_code from a partial or misspelled name. Use first when a player is named to enable all other player tools.
Instructions
Find a player's canonical person_code from a partial or misspelled name.
Call this FIRST whenever the user names a player. Every other player tool takes a
person_code, not a name. Matching is case-insensitive and substring-based, so
"doncic", "Luka", and "DONCIC, LUKA" all work.
Args:
name: any part of the player's name.
season: optional season code such as "E2025" to restrict to players active then.
limit: maximum results, default 10.
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": {
"name": "<name>"
},
"name": "search_players"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| limit | No | ||
| season | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||