sftp_list
List the contents of a specified remote directory over SFTP, returning names of files and subdirectories.
Instructions
List contents of a remote directory
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": {
"sessionId": "<sessionId>",
"remotePath": "<remotePath>"
},
"name": "sftp_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID | |
| remotePath | Yes | Remote directory path |