get_diff
Retrieve all changes an agent made since its base commit, including commits, uncommitted edits, and new files, optionally scoped to a path or reduced to a stat-only summary.
Instructions
Everything the agent changed since its base commit: commits + uncommitted edits + new files.
path: limit to one file or directory (relative to the repo root). stat_only: only the per-file summary.
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": {
"name": "<name>"
},
"name": "get_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | No | ||
| max_chars | No | ||
| stat_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |