Resolve a team
get_teamResolve a World Cup nation name or 3-letter code to its FIFA code, flag, and group. Handles fuzzy inputs and returns candidates when queries are ambiguous.
Instructions
The World Cup roster: 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. Useful for the 3-letter code get_market_signal needs. It knows no clubs: get_next_fixture and get_share_snippet resolve a club's name themselves. 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 | ||
| responseTruncated | No | ||
| responseTruncation | No |