get_region
Retrieve complete details for a region using its unique UUID. Includes multilingual support for region data.
Instructions
Get full details for a single region by its UUID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Region UUID |
Implementation Reference
- src/server.ts:180-188 (handler)Handler for the 'get_region' tool - gets full details for a single region by UUID using client.regions.get(id).
server.tool( 'get_region', 'Get full details for a single region by its UUID.', { id: z.string().describe('Region UUID') }, async ({ id }) => { const result = await client.regions.get(id); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }, ); - src/server.ts:183-183 (schema)Input schema for 'get_region' - requires a single 'id' parameter (string, Region UUID).
{ id: z.string().describe('Region UUID') }, - src/server.ts:180-188 (registration)Tool registration via server.tool() with name 'get_region', description, Zod schema, and handler.
server.tool( 'get_region', 'Get full details for a single region by its UUID.', { id: z.string().describe('Region UUID') }, async ({ id }) => { const result = await client.regions.get(id); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }, ); - src/server.ts:6-6 (helper)Helper: the GeomelonClient instance that provides the regions.get() method used by the handler.
const client = new GeomelonClient({ apiKey });