get_mlb_search_players
Search for MLB players by name using a specified sport ID and search key. Retrieve player data in JSON format for integration with AI applications or baseball analysis tools.
Instructions
Search for players by name.
Args: fullname (str): Player name to search for. sport_id (int): Sport ID (default: 1 for MLB). search_key (str): Search key (default: "fullname").
Returns: dict: Player search results.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fullname | Yes | ||
search_key | No | fullname | |
sport_id | No |
Input Schema (JSON Schema)
{
"properties": {
"fullname": {
"title": "Fullname",
"type": "string"
},
"search_key": {
"default": "fullname",
"title": "Search Key",
"type": "string"
},
"sport_id": {
"default": 1,
"title": "Sport Id",
"type": "integer"
}
},
"required": [
"fullname"
],
"type": "object"
}