get_phone_user
Retrieve phone-related details for a specific Zoom user by providing their user ID or email address, enabling efficient management of user phone settings through the Zoom API MCP Server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | The user ID or email address |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"user_id": {
"description": "The user ID or email address",
"type": "string"
}
},
"required": [
"user_id"
],
"type": "object"
}
Implementation Reference
- src/tools/phone.js:33-39 (handler)Handler function that retrieves a phone user's information by making a GET request to the Zoom API endpoint `/phone/users/${user_id}` and handles the response or error.handler: async ({ user_id }) => { try { const response = await zoomApi.get(`/phone/users/${user_id}`); return handleApiResponse(response); } catch (error) { return handleApiError(error); }
- src/tools/phone.js:30-32 (schema)Zod schema defining the input parameter `user_id` as a string for the get_phone_user tool.schema: { user_id: z.string().describe("The user ID or email address") },
- src/server.js:51-51 (registration)Registers the phoneTools array, which includes the get_phone_user tool, by calling registerTools that iterates and calls server.tool for each.registerTools(phoneTools);