list_dir
List directory contents read-only on local or remote homelab servers within scoped project paths. Provide an absolute path and optional host name to inspect files.
Instructions
List directory contents (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": {
"path": "<path>"
},
"name": "list_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Server name from HOMELAB_HOSTS (e.g. 'sil-baru'). Omit to run on the local machine. | |
| path | Yes | Absolute path inside HOMELAB_PROJECT_DIRS (e.g. '/home/user/projects/api') |