comment_on_issue
Post a comment on a GitHub issue or pull request. Requires user approval of the comment text before submitting.
Instructions
Post a comment on an issue or pull request (they share numbering). ALWAYS show the user the comment text and get their approval before calling.
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>",
"number": "<number>",
"body": "<body>"
},
"name": "comment_on_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment text (markdown) | |
| repo | Yes | Repository name (without owner) | |
| owner | No | Repo owner; defaults to GITHUB_DEFAULT_OWNER | |
| number | Yes | Issue or PR number |