看单文件 git diff
piweb_git_diffView a file's complete Git patch to inspect changes, share it with an agent for edits, or verify modifications.
Instructions
看某个文件相对 git 的完整 patch。复制到会话里让 agent 改,或用来核查它的改动是否合理。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | 项目目录(仓库内)的绝对路径 | |
| path | Yes | 目标文件的绝对路径 | |
| max_chars | No | patch 截断长度,默认 30000 |