n8n_get_user
Retrieve user details by ID to manage access, permissions, and administrative tasks in n8n workflows.
Instructions
Get a specific user by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | User ID |
Implementation Reference
- src/n8n-client.ts:220-223 (handler)The actual implementation of getUser which calls the n8n API.
async getUser(id: string): Promise<any> { const response = await this.client.get(`/users/${id}`); return response.data; } - src/index.ts:308-314 (handler)MCP tool handler for n8n_get_user.
case 'n8n_get_user': { if (!args?.id) throw new Error('id is required'); const result = await n8nClient.getUser(args.id as string); return { content: [{ type: 'text', text: formatResponse(result) }], }; } - src/index.ts:784-794 (schema)Registration and schema definition for n8n_get_user tool.
{ name: 'n8n_get_user', description: 'Get a specific user by ID', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'User ID' }, }, required: ['id'], }, },