List Remote Directory
remote_ssh_list_dirList directory contents on a remote SSH host by running ls -la, returning detailed file information for any absolute or relative path.
Instructions
List a directory on the configured SSH host using ls -la.
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": "remote_ssh_list_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | SSH hostname or IP address. Overrides REMOTE_SSH_HOST. | |
| path | Yes | Remote Linux path. Use absolute paths or ~/path. | |
| timeoutMs | No | Timeout in milliseconds. | |
| maxOutputBytes | No | Maximum captured bytes per stdout/stderr stream. |