mlb: Search players
mlb_search_playersSearch MLB players by name to retrieve matching player IDs, teams, and positions for roster lookup and player identification.
Instructions
Search for players by name. Returns matching players with their IDs, teams, and positions.
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": {
"names": "<names>"
},
"name": "mlb_search_players"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | Player name(s) to search for | |
| fields | No | Keys to keep (comma-separated). | |
| sportId | No | Sport ID (1=MLB) |