List directory
list_directoryLists files and folders with size and modification time, supports recursive depth and result limits, and skips node_modules, .git, dist, and build unless includeIgnored is true.
Instructions
List files and folders on this computer with size and mtime. Supports depth (recursive listing) and a result limit. Heavy folders (node_modules, .git, dist, build, ...) are skipped when recursing unless includeIgnored is true.
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": "list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Short human-readable explanation (1 line, in the user's language) of what you are about to do and why. Shown to the user on the approval card. Always provide when calling mutating tools. | |
| path | No | ||
| agent | No | Short consistent identifier or display name of this agent (e.g. 'Claude · Лендинг', 'Тесты', 'Мой агент'). Used to separate tasks and route tray messages when multiple agents work in parallel. | |
| depth | No | ||
| limit | No | ||
| showHidden | No | ||
| includeIgnored | No |