approve_pull_request
Approve a pull request to mark changes as acceptable and ready to merge. Requires the pull request ID; repository and workspace are optional.
Instructions
Approve a pull request.
Use this tool to approve a pull request, indicating the changes are acceptable and ready to merge.
Args: pr_id: Pull request ID to approve. repository: Repository slug. If not provided, uses current repository context. workspace: Workspace slug. If not provided, uses the default workspace.
Returns: JSON object confirming the approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_id | Yes | ||
| workspace | No | ||
| repository | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |