git_ls_files
List tracked, modified, and untracked files in a local Git repository to inspect index state before staging or committing changes.
Instructions
List tracked files and other index information.
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_ls_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional local working directory or repository path. | |
| others | No | Show untracked files. | |
| modified | No | Show modified files. |