git_ls_files
Lists permitted regular files from the Git index or a specific commit, optionally filtering by paths and including untracked files, while enforcing repository policy restrictions.
Instructions
List selected permitted regular files in the index or a commit. Omit repo_path to use the configured repository. Results and operations are restricted according to project policy.
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 |
|---|---|---|---|
| paths | No | ||
| revision | No | ||
| repo_path | No | Optional repository root. Omit to use the server's fixed repository. An explicit path must identify that same repository. | |
| include_untracked | No |