git_diff
Retrieve a filtered, no-color diff of workspace changes to support planning and review without granting write or shell access.
Instructions
Return a bounded, filtered, no-color Git diff page for the bound workspace.
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": "git_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| path | No | ||
| cursor | No | ||
| maxBytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| path | Yes | ||
| text | Yes | ||
| hasMore | Yes | ||
| nextCursor | Yes |