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)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_diff"
}
}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) |