list_issue_assignees
Retrieve assignees for a specific issue in a AtomGit repository by providing the repository owner and name, enabling efficient issue management and collaboration.
Instructions
List assignees for a specific issue in a AtomGit repository
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name |
Implementation Reference
- operations/issues.ts:207-217 (handler)The core handler function that executes the tool logic by making an API request to list assignees for the repository.export async function listIssueAssignees( owner: string, repo: string ) { return atomGitRequest( `https://api.atomgit.com/repos/${encodeURIComponent(owner)}/${encodeURIComponent(repo)}/assignees`, { method: "GET", } ); }
- operations/issues.ts:58-61 (schema)Zod schema defining the input parameters (owner and repo) for the list_issue_assignees tool.export const ListAssigneesSchema = z.object({ owner: z.string().describe("Repository owner"), repo: z.string().describe("Repository name"), });
- index.ts:101-105 (registration)Registration of the 'list_issue_assignees' tool in the MCP server's tool list, including name, description, and input schema reference.{ name: "list_issue_assignees", description: "List assignees for a specific issue in a AtomGit repository", inputSchema: zodToJsonSchema(issues.ListAssigneesSchema), },
- index.ts:361-369 (handler)MCP server dispatch handler for the 'list_issue_assignees' tool call, which parses arguments and invokes the core handler.case "list_issue_assignees": { const args = issues.ListAssigneesSchema.parse(request.params.arguments); const { owner, repo } = args; const result = await issues.listIssueAssignees(owner, repo); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }