fs_list
List files and directories under an allowed root so local AI can inspect projects for builds and errors. Skips large generated directories during recursive scans.
Instructions
List files and directories inside an allowed root. Large generated directories are skipped during recursive listing.
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": {
"path": "<path>"
},
"name": "fs_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| agent | No | Optional existing runtime binding for monitor attribution; no extra handshake. | |
| maxDepth | No | ||
| recursive | No | ||
| maxEntries | No |