ssh_list_files
List files and directories on a remote server via SFTP. Provide a session name and absolute path to view directory 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": {
"sessionName": "<sessionName>",
"remotePath": "<remotePath>"
},
"name": "ssh_list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionName | Yes | Session to list files on | |
| remotePath | Yes | Absolute directory path on the remote server |