get_item
Retrieve complete work item details from Codebeamer using its numeric ID, including status, priority, assignees, description, and custom fields.
Instructions
Get full details of a Codebeamer work item by its numeric ID. Returns status, priority, assignees, description, and custom fields.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | Numeric item (work item) ID |
Implementation Reference
- src/tools/items.ts:86-105 (handler)Implementation of the 'get_item' MCP tool. It registers the tool and handles the call by invoking the client's getItem method.
server.registerTool( "get_item", { title: "Get Item", description: "Get full details of a Codebeamer work item by its numeric ID. " + "Returns status, priority, assignees, description, and custom fields.", inputSchema: { itemId: z .number() .int() .positive() .describe("Numeric item (work item) ID"), }, }, async ({ itemId }) => { const item = await client.getItem(itemId); return { content: [{ type: "text", text: formatItem(item) }] }; }, );