list_dir
Lists files and subfolders in a host directory, resolving relative paths from the home directory so you can inspect remote folders over SSH.
Instructions
List a folder on a host.
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": {
"host": "<host>",
"path": "<path>"
},
"name": "list_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| path | Yes | A path on the host; relative paths start at the home directory. |