sftp_list_directory
List files and directories at a specified remote path on SSH servers to view accessible content within configured allowed paths.
Instructions
List files and directories at a remote path.
Only paths within the configured allowed_paths are accessible. Risk level: low (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": {
"host_id": "<host_id>",
"remote_path": "<remote_path>"
},
"name": "sftp_list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host_id | Yes | ||
| remote_path | Yes | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||