get_issue_details
Retrieve specific issue information from an AtomGit repository by providing the repository owner, name, and issue number.
Instructions
Get details of a specific issue in a AtomGit repository
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name | |
| issue_number | Yes | Issue number |
Implementation Reference
- operations/issues.ts:168-179 (handler)Actual implementation of get_issue_details tool: fetches issue details from AtomGit API using atomGitRequest.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 for input validation of get_issue_details tool.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)Tool registration in MCP server, defining name, description, and input schema.{ name: "get_issue_details", description: "Get details of a specific issue in a AtomGit repository", inputSchema: zodToJsonSchema(issues.GetIssueSchema), },
- index.ts:351-359 (handler)MCP server handler case that parses arguments, calls the issues.getIssue function, and formats the response.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) }], }; }