sftp_list
List files and directories in a remote directory over SFTP to inspect remote server contents.
Instructions
List files and directories in a remote path via SFTP.
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": {
"connectionId": "<connectionId>",
"remotePath": "<remotePath>"
},
"name": "sftp_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remotePath | Yes | Absolute path to the remote directory | |
| connectionId | Yes | The connection ID |