draft_comment
Compose a GitHub issue comment for review, with a dry-run default and explicit confirmation needed to post.
Instructions
Draft a comment on an issue. Does not post unless confirm=true. Always show the draft to a human first.
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": "draft_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Markdown comment body | |
| repo | Yes | owner/name | |
| number | Yes | Issue number | |
| confirm | No | Must be true to actually POST. Default false (dry run). |