Get Staged Files
get_staged_filesRetrieve staged files from a git repository to review changes before committing, enabling code review and change evaluation.
Instructions
Retrieve the list of staged files in a git repository
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repoPath": "<repoPath>"
},
"name": "get_staged_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | Yes | Full path to the git repository. |