Get Copilot Code Reviews
get_copilot_reviewsRetrieve Copilot's pull request review findings, including approval status and file-level comments with paths and line numbers, to learn review patterns and create tagged journal entries.
Instructions
Get Copilot's code review findings for a pull request. Returns review state (approved/changes_requested/commented/none) and file-level comments with paths and line numbers. Use to learn from Copilot's review patterns and create journal entries with tag "copilot-finding".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | LEAVE EMPTY to auto-detect from git | |
| owner | No | LEAVE EMPTY to auto-detect from git | |
| pr_number | No | Pull request number | |
| use_test_db | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Error code (e.g. VALIDATION_ERROR, INTERNAL_ERROR) | |
| repo | No | ||
| error | No | Human-readable error message | |
| owner | No | ||
| state | No | ||
| details | No | Additional error context | |
| success | No | ||
| category | No | Error category (validation, query, connection, internal) | |
| comments | No | ||
| prNumber | No | ||
| suggestion | No | Suggested fix for the error | |
| recoverable | No | Whether the error is recoverable | |
| commentCount | No | ||
| detectedRepo | No | ||
| detectedOwner | No | ||
| aggregated_errors | No | Details of individual errors in a multi-step operation | |
| requiresUserInput | No |