add_pull_request_comment
Add a comment to a pull request on GitHub or Bitbucket Cloud. Specify provider, repository, pull request ID, and comment text to post feedback directly.
Instructions
Add a comment to a pull request.
Args: provider: Provider key. repo: Repository identity. pull_request_id: Provider pull-request identifier. body: Comment text. raw: Include the provider payload.
Returns: Normalized write-result mapping.
Examples:
Input: {"repo": "o/r", "pull_request_id": "7", "body": "Looks good"}.
Output: {"id": "comment-1", "state": "", ...}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| body | Yes | ||
| repo | Yes | ||
| provider | Yes | ||
| pull_request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||