listUsers
Retrieve all workspace users from Clockify to manage team access and track time entries.
Instructions
List all users in the workspace.
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": "listUsers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/handlers.ts:229-239 (handler)Handler implementation for the 'listUsers' tool. Fetches and returns the list of users in the current workspace using the Clockify API.
case "listUsers": { const users = await clockifyFetch(`/workspaces/${workspaceId}/users`); return { content: [ { type: "text", text: JSON.stringify(users, null, 2), }, ], }; } - src/handlers.ts:79-82 (schema)Tool schema definition for 'listUsers' including name, description, and input schema (no required inputs).
{ name: "listUsers", description: "List all users in the workspace.", inputSchema: { type: "object", properties: {}, required: [] },