get_diff
Retrieve the Git diff for a task workspace or repository, covering committed changes since the task base SHA and untracked files, to review code modifications.
Instructions
Returns the Git diff for a task workspace or configured repository (including committed changes since task base SHA and untracked files)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staged | No | Check staged changes (default false) | |
| task_id | No | Task ID (queries task workspace) | |
| max_bytes | No | Max bytes for diff output (default 100000) | |
| repository | No | Repository alias (queries repository root) |