Snapshot Baseline Before Edits
snapshot_baselineCapture a lightweight baseline of target or dirty files before editing so diffs can isolate only the current task’s changes in an already-modified working tree.
Instructions
Captures a lightweight snapshot of target files (or all currently dirty files) before editing so present_diff can isolate only this turn/task edits on an already-dirty git working tree.
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": "snapshot_baseline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Specific repo-relative file paths to snapshot; omit to snapshot all dirty files | |
| label | No | Human-readable label for this snapshot | |
| repoPath | No | Absolute path to repository root (defaults to cwd) |