List files
fs_listList a directory of the project ("workspace", "workspace/src", "data"). With recursive, lists the tree (dependency, build and git directories are skipped), up to 500 entries. env production lists the live site's files, read-only.
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": {
"project": "<project>"
},
"name": "fs_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | preview (default), or production: the live site's files, read-only (its code as published plus its own /data), for the project's owner and editors. | preview |
| path | No | Path starting with "workspace/" (the code, /workspace) or "data/" (runtime files, /data). | workspace |
| project | Yes | Project slug or id. | |
| recursive | No |