devops_pull_request_get
Retrieve a pull request by ID to access its last merge target and source commits for examining changes.
Instructions
Retrieve a pull request by ID. Use the 'lastMergeTargetCommit' and 'lastMergeSourceCommit' from the result to obtain changes with 'devops_repository_diffs_commits' tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repository_id | Yes | Repository name or ID. | |
| pull_request_id | Yes | The ID of the pull request to retrieve. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |