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.
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": {
"room_id": "<room_id>"
},
"name": "update_zoom_room"
}
}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 |
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);