create_zoom_room_location
Create and configure Zoom Room locations by specifying details like name, type, and parent location ID for structured organization within Zoom's API framework.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Location name | |
| parent_location_id | No | Parent location ID | |
| type | Yes | Location type |
Implementation Reference
- src/tools/zoom-rooms.js:91-98 (handler)The handler function for the 'create_zoom_room_location' tool. It sends a POST request to the Zoom API endpoint '/rooms/locations' with the provided location data, handles the successful response using handleApiResponse, and catches any errors using handleApiError.handler: async (locationData) => { try { const response = await zoomApi.post('/rooms/locations', locationData); return handleApiResponse(response); } catch (error) { return handleApiError(error); } }
- src/tools/zoom-rooms.js:86-90 (schema)Zod schema defining the input parameters for the create_zoom_room_location tool: 'name' (required string), 'parent_location_id' (optional string), and 'type' (enum of possible location types).schema: { name: z.string().describe("Location name"), parent_location_id: z.string().optional().describe("Parent location ID"), type: z.enum(["country", "state", "city", "campus", "building", "floor"]).describe("Location type") },
- src/server.js:56-56 (registration)Registers all tools from the zoomRoomsTools array, including 'create_zoom_room_location', using the registerTools utility function which calls server.tool() for each tool.registerTools(zoomRoomsTools);