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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"type": "<type>"
},
"name": "create_zoom_room_location"
}
}Input 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);