workspace.diff
Return the project's git diff against HEAD as plain text, including staged and unstaged changes; use scope=stat for a per-file summary before requesting the full patch.
Instructions
Return the project's git diff against HEAD as plain text, staged and unstaged changes together; untracked files are not included. Read-only. scope=stat returns only the per-file summary; anything else returns the full patch, which can be large, so start with stat. For the list of changed files use workspace.status; for session-level changes use session.diff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | stat for a per-file summary, full (default) for the whole patch |