get_project
Retrieve complete details for a specific Codebeamer project using its numeric ID to access project information and structure.
Instructions
Get full details for a single Codebeamer project by its numeric ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Numeric Codebeamer project ID |
Implementation Reference
- src/tools/projects.ts:57-61 (handler)The handler function that executes the "get_project" tool logic by calling the client.getProject method.
async ({ projectId }) => { const project = await client.getProject(projectId); return { content: [{ type: "text", text: formatProject(project) }] }; }, ); - src/tools/projects.ts:49-55 (schema)The input schema defining the required "projectId" parameter for the "get_project" tool.
inputSchema: { projectId: z .number() .int() .positive() .describe("Numeric Codebeamer project ID"), }, - src/tools/projects.ts:43-61 (registration)The registration of the "get_project" tool within the MCP server.
server.registerTool( "get_project", { title: "Get Project", description: "Get full details for a single Codebeamer project by its numeric ID.", inputSchema: { projectId: z .number() .int() .positive() .describe("Numeric Codebeamer project ID"), }, }, async ({ projectId }) => { const project = await client.getProject(projectId); return { content: [{ type: "text", text: formatProject(project) }] }; }, );