get_pull_request_diff
Retrieve the raw diff of a pull request to review code changes. Requires the pull request ID.
Instructions
Get the diff/changes for a pull request.
Use this tool to see what code changes are included in a pull request. Returns the raw diff output.
Args: pr_id: Pull request ID. repository: Repository slug. If not provided, uses current repository context. workspace: Workspace slug. If not provided, uses the default workspace.
Returns: The diff text showing all changes in the pull request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_id | Yes | ||
| workspace | No | ||
| repository | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |