comment_on_pull_request
Post review comments on pull requests, including inline code annotations. Requires owner, repo name, PR number, and body. Signs and broadcasts on-chain transaction. Supports optional diff hunk, path, and position for inline comments.
Instructions
Use this when you need to leave review comments on a pull request. Supports both general comments and inline comments on specific code lines. Signs and broadcasts a transaction on-chain. Requires 'owner', 'name', 'pull_iid', and 'body'. Optional: 'diff_hunk', 'path', 'position' for inline comments. See also: get_pull_request, list_pull_requests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner (username or DAO name) | |
| name | Yes | Repository name | |
| pull_iid | Yes | Pull request number (IID) | |
| body | Yes | Comment body text | |
| diff_hunk | No | Diff hunk for inline comment | |
| path | No | File path for inline comment | |
| position | No | Line position for inline comment |