issue_get_comments
Retrieve comments for a specific issue in Yandex Tracker by providing the issue ID in the format '-'.
Instructions
Get comments of a Yandex Tracker issue by its id
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue_id | Yes | Issue ID in the format '<project>-<id>', like 'SOMEPROJECT-1' |
Implementation Reference
- mcp_tracker/mcp/tools.py:232-242 (handler)MCP tool handler implementation for 'issue_get_comments'. Validates the issue ID using check_issue_id and fetches comments via the injected issues service.async def issue_get_comments( ctx: Context[Any, AppContext], issue_id: IssueID, ) -> list[IssueComment]: check_issue_id(settings, issue_id) return await ctx.request_context.lifespan_context.issues.issue_get_comments( issue_id, auth=get_yandex_auth(ctx), )
- mcp_tracker/mcp/params.py:23-26 (schema)Input schema definition for the 'issue_id' parameter using Pydantic Annotated type with description and validation.IssueID = Annotated[ str, Field(description="Issue ID in the format '<project>-<id>', like 'SOMEPROJECT-1'"), ]
- mcp_tracker/mcp/server.py:164-166 (registration)Calls register_tools which defines and registers the 'issue_get_comments' tool (along with others) on the FastMCP server instance.mcp = create_mcp_server() register_resources(settings, mcp) register_tools(settings, mcp)