sftp_list_dir
Lists files and subdirectories with metadata from a remote directory over SFTP. Provide the absolute remote path to browse.
Instructions
列出远程目录下的文件与子目录元数据列表
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": {
"remotePath": "<remotePath>"
},
"name": "sftp_list_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remotePath | Yes | 待浏览的远程目录绝对路径 | |
| connectionId | No | 目标连接标识符,缺省时使用当前默认连接 |