Comment on a GitHub issue
github_create_issue_commentAdd a comment to an issue or pull request in a repository on one of YOUR OWN GitHub connections. Shared connections are read-only and cannot comment.
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": "github_create_issue_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment body (Markdown). | |
| repo | Yes | Repository in "owner/repo" form, e.g. octocat/Hello-World. The owner is the GitHub LOGIN exactly as it appears in the repository URL (github.com/<owner>/<repo>) — not a display name, and not the connection's name. | |
| number | Yes | Issue or pull request number. | |
| connection | No | Which GitHub connection to use, by its name from github_list_connections. This is a local label for the connection, NOT a GitHub username — for anything GitHub has to resolve, use that connection's login instead. Optional when you have exactly one. |