get_issue_details
Retrieve detailed information about a specific issue in an AtomGit repository by providing the owner, repository name, and issue number for efficient issue tracking and management.
Instructions
Get details of a specific issue in a AtomGit repository
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue_number | Yes | Issue number | |
| owner | Yes | Repository owner | |
| repo | Yes | Repository name |
Implementation Reference
- operations/issues.ts:168-179 (handler)The core handler function that performs the HTTP GET request to retrieve details of a specific issue from the AtomGit API.export async function getIssue( owner: string, repo: string, issue_number: number ) { return atomGitRequest( `https://api.atomgit.com/repos/${encodeURIComponent(owner)}/${encodeURIComponent(repo)}/issues/${encodeURIComponent(issue_number)}`, { method: "GET", } ); }
- operations/issues.ts:52-56 (schema)Zod schema defining the input parameters for the get_issue_details tool: owner, repo, and issue_number.export const GetIssueSchema = z.object({ owner: z.string().describe("Repository owner"), repo: z.string().describe("Repository name"), issue_number: z.number().describe("Issue number"), });
- index.ts:96-100 (registration)Registration of the get_issue_details tool in the MCP server's list of tools, including name, description, and input schema reference.{ name: "get_issue_details", description: "Get details of a specific issue in a AtomGit repository", inputSchema: zodToJsonSchema(issues.GetIssueSchema), },
- index.ts:351-359 (helper)Dispatch handler in the main switch statement that parses tool arguments using the schema and calls the core getIssue function.case "get_issue_details": { const args = issues.GetIssueSchema.parse(request.params.arguments); const { owner, repo, issue_number } = args; const result = await issues.getIssue(owner, repo, issue_number); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }