comments
Manage comments on issues and pull requests. Comments are shared between issues and PRs; use the same index for either.
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": {
"action": "<action>",
"owner": "<owner>",
"repo": "<repo>"
},
"name": "comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Comment ID. Required for get/edit/delete | |
| body | No | Comment body (markdown). Required for create/edit | |
| repo | Yes | Repository name | |
| index | No | Issue or PR index. Required for list/create | |
| owner | Yes | Repository owner | |
| since | No | ISO 8601 timestamp. Only list comments updated after this | |
| action | Yes | Operation to perform | |
| before | No | ISO 8601 timestamp. Only list comments updated before this |