Review current changes with Octopus
octopus_review_changesReview uncommitted code changes by providing a unified diff or a git repo path. Return findings and a summary to catch issues early.
Instructions
Run an Octopus code review on a unified diff (uncommitted/working changes). Pass diff directly, or pass repoPath and Octopus will run git diff for you. Returns findings and a summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | No | A unified diff to review. If omitted, repoPath is used to run git diff. | |
| model | No | Optional Octopus model id to review with (defaults to the org's default). | |
| title | No | Optional title/context for the change set. | |
| repoPath | No | Path to a git repo. Used only when `diff` is omitted; runs `git diff HEAD` (falls back to staged). |