get_resolutions
Retrieve a list of issue resolutions to streamline project management and enhance issue tracking within the Backlog platform using MCP server integration.
Instructions
Returns list of issue resolutions
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/getResolutions.ts:9-26 (handler)The main handler for the 'get_resolutions' tool. It defines the tool with name, description, input schema (empty), output schema, and the async handler function that delegates to backlog.getResolutions().export const getResolutionsTool = ( backlog: Backlog, { t }: TranslationHelper ): ToolDefinition< ReturnType<typeof getResolutionsSchema>, (typeof ResolutionSchema)['shape'] > => { return { name: 'get_resolutions', description: t( 'TOOL_GET_RESOLUTIONS_DESCRIPTION', 'Returns list of issue resolutions' ), schema: z.object(getResolutionsSchema(t)), outputSchema: ResolutionSchema, handler: async () => backlog.getResolutions(), }; };
- Zod schema defining the structure of each resolution object returned by the get_resolutions tool (id and name).export const ResolutionSchema = z.object({ id: z.number(), name: z.string(), });
- src/tools/tools.ts:100-100 (registration)The get_resolutions tool is registered here in the 'issue' toolset within the allTools function.getResolutionsTool(backlog, helper),
- src/tools/getResolutions.ts:7-7 (schema)Input schema for get_resolutions tool (empty object, no parameters).const getResolutionsSchema = buildToolSchema((_t) => ({}));
- src/tools/tools.ts:31-31 (registration)Import of the getResolutionsTool factory function.import { getResolutionsTool } from './getResolutions.js';