create_channel
Create and configure Zoom channels by defining a name, type (public or private), and adding members via email, ensuring proper channel setup within Zoom API MCP Server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| members | No | Channel members | |
| name | Yes | Channel name | |
| type | Yes | Channel type (1: Private, 2: Public) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"members": {
"description": "Channel members",
"items": {
"additionalProperties": false,
"properties": {
"email": {
"description": "Member email address",
"format": "email",
"type": "string"
}
},
"required": [
"email"
],
"type": "object"
},
"type": "array"
},
"name": {
"description": "Channel name",
"type": "string"
},
"type": {
"description": "Channel type (1: Private, 2: Public)",
"maximum": 2,
"minimum": 1,
"type": "number"
}
},
"required": [
"name",
"type"
],
"type": "object"
}
Implementation Reference
- src/tools/chat.js:35-42 (handler)The async handler function that posts channel data to the Zoom API endpoint '/chat/users/me/channels' and handles the response or error using utility functions.handler: async (channelData) => { try { const response = await zoomApi.post('/chat/users/me/channels', channelData); return handleApiResponse(response); } catch (error) { return handleApiError(error); } }
- src/tools/chat.js:28-34 (schema)Zod input schema defining the parameters for creating a channel: name (string), type (number 1 or 2), and optional members array with emails.schema: { name: z.string().describe("Channel name"), type: z.number().min(1).max(2).describe("Channel type (1: Private, 2: Public)"), members: z.array(z.object({ email: z.string().email().describe("Member email address") })).optional().describe("Channel members") },
- src/server.js:50-50 (registration)Registers the chatTools array, which includes the 'create_channel' tool, to the MCP server via the registerTools utility function.registerTools(chatTools);