Git 差异
git_diffCompare working tree or staged changes in a Git repository, filter by path, and view statistical summaries.
Instructions
返回工作树或暂存区差异,可限制路径。
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": "git_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | . | |
| path | No | ||
| stat | No | ||
| staged | No |