git_diff_staged
Show which Git changes are staged for commit so you can review them before committing. Optionally specify a workspace-relative repository path.
Instructions
Show staged Git changes for a repository below the configured workspace root.
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_staged"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | No | Workspace-relative repository path; defaults to . |