gh_issue_comment
Post a comment to a GitHub issue by providing the repository, issue number, and markdown body. Enables direct issue commenting from automated workflows.
Instructions
Add a comment to a GitHub issue.
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": {
"number": "<number>",
"body": "<body>",
"repo": "<repo>"
},
"name": "gh_issue_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment body (markdown) | |
| repo | Yes | owner/repo — required; a write never infers its target | |
| number | Yes | Issue number |