list_countries
Retrieve all 27 supported countries with their default currencies and regions for global food price tracking and comparison.
Instructions
List all 27 supported countries with their default currencies and regions.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:150-162 (handler)The definition and implementation of the 'list_countries' tool.
server.tool( 'list_countries', 'List all 27 supported countries with their default currencies and regions.', {}, async () => { try { const countries = await api('/api/countries'); return text(countries); } catch (e) { return errorResult(`List countries failed: ${(e as Error).message}`); } }, );