Comment on an issue or PR
forgejo_comment_issueAdd a comment to an issue or pull request in a Forgejo repository. Provide the issue number and markdown body to post the comment.
Instructions
Adds a comment to an issue or a pull request (shared numbering).
Parameters: owner, repo, number (required), body (string, required), response_format.
Returns: { id, author, created_at, html_url }
Write operation: requires the 'write:issue' scope. The comment is attributed to the token's owner and cannot be deleted by this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment body, in markdown. | |
| repo | No | Repository name. Defaults to FORGEJO_DEFAULT_REPO. | |
| owner | No | Repository owner (user or organisation). Defaults to FORGEJO_DEFAULT_OWNER. | |
| number | Yes | Issue or pull request number. | |
| response_format | No | 'markdown' for a readable rendering, 'json' for the full data. | markdown |