get_contact
Retrieve detailed contact information from Zoom using a specific contact ID. This tool integrates with the Zoom API MCP Server for validated and secure data access.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contact_id | Yes | The contact ID |
Implementation Reference
- src/tools/contacts.js:33-40 (handler)The handler function for the 'get_contact' tool. It makes a GET request to the Zoom API endpoint `/contacts/${contact_id}` to retrieve the specific contact's information, handles the response, and catches any errors.handler: async ({ contact_id }) => { try { const response = await zoomApi.get(`/contacts/${contact_id}`); return handleApiResponse(response); } catch (error) { return handleApiError(error); } }
- src/tools/contacts.js:30-32 (schema)Input schema using Zod for validating the 'contact_id' parameter as a required string.schema: { contact_id: z.string().describe("The contact ID") },
- src/server.js:52-52 (registration)Registers the 'contactsTools' array, which includes the 'get_contact' tool, to the MCP server via the registerTools utility.registerTools(contactsTools);
- src/server.js:8-8 (registration)Imports the contactsTools array containing the 'get_contact' tool definition from src/tools/contacts.js.import { contactsTools } from './tools/contacts.js';