update_phone_user
Update a user’s phone settings in Zoom by specifying user ID, extension number, site ID, and policy ID through the Zoom API MCP Server.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extension_number | No | Extension number | |
| policy_id | No | Policy ID | |
| site_id | No | Site ID | |
| user_id | Yes | The user ID or email address |
Implementation Reference
- src/tools/phone.js:51-58 (handler)The main handler function for the 'update_phone_user' tool. It sends a PATCH request to the Zoom API endpoint `/phone/users/${user_id}` with the destructured user data (extension_number, site_id, policy_id), handles the response with handleApiResponse, and catches errors with handleApiError.handler: async ({ user_id, ...userData }) => { try { const response = await zoomApi.patch(`/phone/users/${user_id}`, userData); return handleApiResponse(response); } catch (error) { return handleApiError(error); } }
- src/tools/phone.js:45-50 (schema)Zod schema defining the input parameters for the update_phone_user tool, including required user_id and optional fields for updating phone user settings.schema: { user_id: z.string().describe("The user ID or email address"), extension_number: z.string().optional().describe("Extension number"), site_id: z.string().optional().describe("Site ID"), policy_id: z.string().optional().describe("Policy ID") },
- src/server.js:51-51 (registration)Registers the phoneTools array (which contains the update_phone_user tool definition) with the MCP server using the registerTools utility.registerTools(phoneTools);