Resolve a team
get_teamTurn a team name or 3-letter code into its FIFA code, flag, and group. Accepts fuzzy inputs like 'Mexico', 'MEX', 'DR Congo'.
Instructions
Resolve a nation name or 3-letter code to its FIFA code, flag, and group. Fuzzy and forgiving: accepts "Mexico", "mex", "USA", "DR Congo", "Türkiye"/"Turkey", "Holland", etc. Use this FIRST to turn a user's team name into the code the other tools need (get_next_fixture, get_standings, get_market_signal, get_share_snippet). Returns the single confident match (team), plus candidates (matches) when the query is ambiguous (e.g. "south" → South Africa, South Korea). Offline — reads the bundled roster, never the network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Team name or 3-letter code, e.g. "Mexico", "MEX", "DR Congo" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes | ||
| count | Yes | ||
| query | Yes | ||
| matches | Yes |