get_resolutions
Retrieve a list of issue resolutions available in Backlog, enabling you to view or assign resolution statuses to issues.
Instructions
Returns list of issue resolutions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organization | No | Optional organization name. Use list_organizations to inspect available organizations. |
Implementation Reference
- src/tools/getResolutions.ts:9-26 (handler)Handler function for 'get_resolutions' tool. Calls backlog.getResolutions() to return the list of issue resolutions.
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(), }; }; - Output schema for the 'get_resolutions' tool: an object with id (number) and name (string).
export const ResolutionSchema = z.object({ id: z.number(), name: z.string(), }); - src/tools/getResolutions.ts:7-7 (schema)Input schema for 'get_resolutions' tool: empty object (no input parameters required).
const getResolutionsSchema = buildToolSchema((_t) => ({})); - src/tools/tools.ts:32-32 (registration)Import of getResolutionsTool into the central tools registry.
import { getResolutionsTool } from './getResolutions.js'; - src/tools/tools.ts:112-112 (registration)Registration of getResolutionsTool within the 'issue' toolset in the allTools function.
getResolutionsTool(backlog, helper),