Comment on a pull request
comment_on_pull_requestPost a Markdown comment on a pull request's conversation as yourself, so anyone with repository access can see your feedback or reply.
Instructions
Posts a comment on a pull request's conversation, as you. Everyone with access to the repository can see it.
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_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment text (Markdown) | |
| repo | Yes | Repository as "owner/name", for example "octocat/hello-world" | |
| number | Yes | Pull request number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| created_at | Yes |