player_lookup
Find MLB player IDs and career details by entering a player's name. Use this tool to verify identities and obtain database identifiers for subsequent baseball data queries.
Instructions
Look up a baseball player to find their MLBAM ID, years active, and database IDs.
Accepts names like 'Mike Trout', 'Trout, Mike', or 'Shohei Ohtani'. Useful for verifying a player's identity or finding their MLBAM / FanGraphs / Baseball-Reference IDs before running other queries.
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": {
"player_name": "<player_name>"
},
"name": "player_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |