get_mlb_search_teams
Search MLB teams by name or ID using a structured query. Retrieve detailed team information by specifying a search key ("name", "id", or "all") for accurate results.
Instructions
Search for teams by name or ID.
Args: team_name (str): Team name or ID to search for. search_key (str): Search key ("name", "id", or "all").
Returns: dict: Team search results.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
search_key | No | name | |
team_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"search_key": {
"default": "name",
"title": "Search Key",
"type": "string"
},
"team_name": {
"title": "Team Name",
"type": "string"
}
},
"required": [
"team_name"
],
"type": "object"
}