get_diff
Retrieve a diff of Gemini's changes for a task, optionally limited to one file, so you can review only the relevant modifications before approving or requesting revisions.
Instructions
Diff of Gemini's changes (optionally one file). Request only what you need to review.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task_id": "<task_id>"
},
"name": "get_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| task_id | Yes | ||
| max_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |