get_issue_comments
Retrieve recent comments from a GitHub issue or pull request by specifying repository and issue number; set a limit to control how many comments return.
Instructions
Retrieve recent discussion comments on an issue or pull request.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>",
"issue_number": "<issue_number>"
},
"name": "get_issue_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Target repository in 'owner/repo' format. | |
| limit | No | Maximum number of comments to return (default 30). | |
| issue_number | Yes | Issue number. |