git_list_files
Lists files at a path in a repo.
Lists files at a path in a repo.
- Tool name
- git_list_files
- Group
- GitHub
- Risk
- low
- Needs approval
- never
- Approval rule
- No approval.
- Allowed in scheduled jobs
- No
- Default
- off
Parameters
| Name | Type | Required | Default | Meaning | Limits |
|---|---|---|---|---|---|
| repo | string | Yes | Repository as owner/name. | ||
| path | string | No | Path relative to the project, such as vault/note.md. |
Returns
File names.
Example (made up for this page)
{
"repo": "demo"
}README.mdSide effects
- Calls the GitHub API.
How it can fail
| When | What the agent sees |
|---|---|
| No token | Not configured text |
See also:GitHub tools
Checked against the source at commit f4fd89f on 29 Oct 2026. Everything here is merged on the main branch; no release has been tagged yet. The source is private, so these pages are the public description.