update_channel
Modify channel details in your Zoom workspace by updating the channel ID and name using the structured tool in the Zoom API MCP Server for precise resource management.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | The channel ID | |
| name | No | Channel name |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"channel_id": {
"description": "The channel ID",
"type": "string"
},
"name": {
"description": "Channel name",
"type": "string"
}
},
"required": [
"channel_id"
],
"type": "object"
}
Implementation Reference
- src/tools/chat.js:66-73 (handler)Executes the update_channel tool by sending a PATCH request to the Zoom API chat channels endpoint with the provided channel data, handling success and error responses using utility functions.handler: async ({ channel_id, ...channelData }) => { try { const response = await zoomApi.patch(`/chat/channels/${channel_id}`, channelData); return handleApiResponse(response); } catch (error) { return handleApiError(error); } }
- src/tools/chat.js:62-65 (schema)Zod schema validating the input parameters for the update_channel tool: required channel_id (string) and optional name (string).schema: { channel_id: z.string().describe("The channel ID"), name: z.string().optional().describe("Channel name") },
- src/server.js:50-50 (registration)Registers the chatTools array with the MCP server, including the update_channel tool.registerTools(chatTools);
- src/server.js:23-32 (registration)Utility function that registers each tool in an array to the MCP server using server.tool(name, schema, handler, description).const registerTools = (toolsArray) => { toolsArray.forEach(tool => { server.tool( tool.name, tool.schema, tool.handler, { description: tool.description } ); }); };