gh_issue_comment
Add a comment to a GitHub issue or pull request by providing repo, number, and Markdown body via a temp file to prevent shell escaping issues.
Instructions
Add a comment to an issue (or PR). Body is passed via a temp file.
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": "gh_issue_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | comment body Markdown. | |
| repo | Yes | ``owner/repo``. | |
| number | Yes | issue or PR number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||