restore_file
Restore a single file to its HEAD state, discarding uncommitted changes. Returns restored file path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Repo-relative path to the file to restore. | |
| workingDirectory | No | Git repo path. Default current directory. | . |