Reference
willo_list_files
List the files of the business's site code from its GitHub repository, at the draft branch when one exists (the work in progress), otherwise main…
- Read
- Metered
On this page
List site files. List the files of the business's site code from its GitHub repository, at the draft branch when one exists (the work in progress), otherwise main (what is live). This is the same view a read-only clone of the repo gives; an edit Willo's chat is making this very minute may not be on the branch yet. Free, read-only.
Access
- Token: read or read + act.
- Approval: Never. This tool only reads.
- Metered: counts toward a per-business, per-minute limit for this kind of call. See Limits.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
path | string | no | Directory to list, repo-relative (e.g. src/pages). Omit for the whole tree. |
pattern | string | no | Glob to filter by, matched against the path under path and against the file name (e.g. *.astro, **/*.css). |