get_users
Retrieve a list of users from the Backlog space using API integration with the Backlog MCP Server for efficient project and resource management.
Instructions
Returns list of users in the Backlog space
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/getUsers.ts:9-27 (handler)The getUsersTool function defines the 'get_users' MCP tool, including its schema, description, and handler logic that retrieves users via the Backlog SDK.export const getUsersTool = ( backlog: Backlog, { t }: TranslationHelper ): ToolDefinition< ReturnType<typeof getUsersSchema>, (typeof UserSchema)['shape'] > => { return { name: 'get_users', description: t( 'TOOL_GET_USERS_DESCRIPTION', 'Returns list of users in the Backlog space' ), schema: z.object(getUsersSchema(t)), outputSchema: UserSchema, importantFields: ['userId', 'name', 'roleType', 'lang'], handler: async () => backlog.getUsers(), }; };
- src/tools/getUsers.ts:7-7 (schema)Input schema for the get_users tool, which takes no parameters.const getUsersSchema = buildToolSchema((_t) => ({}));
- src/tools/tools.ts:66-66 (registration)Registration of the get_users tool within the 'space' toolset group.getUsersTool(backlog, helper),
- src/tools/tools.ts:33-33 (registration)Import of the getUsersTool for registration.import { getUsersTool } from './getUsers.js';