get_channel
Retrieve specific channel details within Zoom by providing the channel ID, enabling streamlined management of Zoom resources through structured API interaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | The channel ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"channel_id": {
"description": "The channel ID",
"type": "string"
}
},
"required": [
"channel_id"
],
"type": "object"
}
Implementation Reference
- src/tools/chat.js:50-57 (handler)The handler function that implements the core logic of the 'get_channel' tool. It makes a GET request to the Zoom API endpoint `/chat/channels/${channel_id}` to retrieve channel information, handles the response, and catches errors.handler: async ({ channel_id }) => { try { const response = await zoomApi.get(`/chat/channels/${channel_id}`); return handleApiResponse(response); } catch (error) { return handleApiError(error); } }
- src/tools/chat.js:47-49 (schema)Zod schema defining the input parameters for the 'get_channel' tool, specifically requiring a 'channel_id' string.schema: { channel_id: z.string().describe("The channel ID") },
- src/server.js:50-50 (registration)Registers the chatTools array (which contains the 'get_channel' tool definition) with the MCP server using the registerTools helper function.registerTools(chatTools);