list_directory
List directory contents with entry name, type, size, and modification time. Use to browse filesystem or verify file presence. Requires allow_file_read permission.
Instructions
List the contents of a directory. Returns each entry's name, type (file/dir), size, and modification time. Use to browse the filesystem or verify file presence. Requires allow_file_read in ~/.syscontrol/config.json.
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 |
|---|---|---|---|
| path | No | Directory path to list (default: home directory). | |
| show_hidden | No | Include entries starting with '.' (default false). |