update_zoom_room
Modify Zoom Room details including name, location ID, calendar resource ID, and passcode using the specified room ID. Streamlines room management via the MCP Server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calendar_resource_id | No | Calendar resource ID | |
| location_id | No | Location ID | |
| name | No | Room name | |
| room_id | Yes | The Zoom Room ID | |
| room_passcode | No | Room passcode |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"calendar_resource_id": {
"description": "Calendar resource ID",
"type": "string"
},
"location_id": {
"description": "Location ID",
"type": "string"
},
"name": {
"description": "Room name",
"type": "string"
},
"room_id": {
"description": "The Zoom Room ID",
"type": "string"
},
"room_passcode": {
"description": "Room passcode",
"type": "string"
}
},
"required": [
"room_id"
],
"type": "object"
}
Implementation Reference
- src/tools/zoom-rooms.js:52-59 (handler)The handler function that executes the update_zoom_room tool logic by sending a PATCH request to the Zoom API endpoint `/rooms/{room_id}` with the provided room data, handling response and errors.handler: async ({ room_id, ...roomData }) => { try { const response = await zoomApi.patch(`/rooms/${room_id}`, roomData); return handleApiResponse(response); } catch (error) { return handleApiError(error); } }
- src/tools/zoom-rooms.js:45-51 (schema)Zod schema defining the input parameters for the update_zoom_room tool, including required room_id and optional fields for update.schema: { room_id: z.string().describe("The Zoom Room ID"), name: z.string().optional().describe("Room name"), location_id: z.string().optional().describe("Location ID"), calendar_resource_id: z.string().optional().describe("Calendar resource ID"), room_passcode: z.string().optional().describe("Room passcode") },
- src/server.js:56-56 (registration)Registers the zoomRoomsTools array (which contains the update_zoom_room tool definition) with the MCP server via the registerTools utility function.registerTools(zoomRoomsTools);