list_zoom_room_locations
Retrieve Zoom Room locations by specifying page size, number, and parent location ID to efficiently manage and organize Zoom resources.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_number | No | Page number | |
| page_size | No | Number of records returned | |
| parent_location_id | No | Parent location ID |
Implementation Reference
- src/tools/zoom-rooms.js:69-81 (handler)The handler function that implements the list_zoom_room_locations tool by making a GET request to the Zoom API '/rooms/locations' endpoint with optional pagination and filtering parameters.handler: async ({ page_size, page_number, parent_location_id }) => { try { const params = {}; if (page_size) params.page_size = page_size; if (page_number) params.page_number = page_number; if (parent_location_id) params.parent_location_id = parent_location_id; const response = await zoomApi.get('/rooms/locations', { params }); return handleApiResponse(response); } catch (error) { return handleApiError(error); } }
- src/tools/zoom-rooms.js:64-68 (schema)Zod schema defining the input parameters for the list_zoom_room_locations tool.schema: { page_size: z.number().min(1).max(300).optional().describe("Number of records returned"), page_number: z.number().min(1).optional().describe("Page number"), parent_location_id: z.string().optional().describe("Parent location ID") },
- src/server.js:56-56 (registration)Registration of the zoomRoomsTools array containing the list_zoom_room_locations tool into the MCP server.registerTools(zoomRoomsTools);