delete_channel
Remove a specified channel from Zoom using its channel ID. The tool ensures proper validation and authentication for secure deletion within the Zoom API 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": {
"channel_id": "<channel_id>"
},
"name": "delete_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | The channel ID |
Implementation Reference
- src/tools/chat.js:81-93 (handler)Handler function that performs the DELETE request to Zoom API endpoint for deleting a channel and returns success message or handles error.
handler: async ({ channel_id }) => { try { const response = await zoomApi.delete(`/chat/channels/${channel_id}`); return { content: [{ type: "text", text: "Channel deleted successfully" }] }; } catch (error) { return handleApiError(error); } } - src/tools/chat.js:78-80 (schema)Zod schema defining the input parameter: channel_id as string.
schema: { channel_id: z.string().describe("The channel ID") }, - src/server.js:50-50 (registration)Registers the chatTools array, which includes the delete_channel tool, with the MCP server.
registerTools(chatTools);