n8n_list_users
Retrieve all user accounts from your n8n instance to manage access and permissions.
Instructions
List all users
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "n8n_list_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/n8n-client.ts:210-213 (handler)The implementation of the `listUsers` method in the N8nClient class.
async listUsers(): Promise<any> { const response = await this.client.get('/users'); return response.data; } - src/index.ts:762-769 (registration)The registration of the `n8n_list_users` tool.
{ name: 'n8n_list_users', description: 'List all users', inputSchema: { type: 'object', properties: {}, }, }, - src/index.ts:293-298 (handler)The handler logic that calls `n8nClient.listUsers()` when `n8n_list_users` tool is requested.
case 'n8n_list_users': { const result = await n8nClient.listUsers(); return { content: [{ type: 'text', text: formatResponse(result) }], }; }