列出目录
list_dirList the next level of entries in a virtual remote FTP/SFTP directory within the configured root by giving an absolute path and optional server alias.
Instructions
列出虚拟远程目录的下一层条目;首次 SFTP 连接可能持久化 TOFU 状态。
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": {
"path": "<path>"
},
"name": "list_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 服务器虚拟绝对路径,以 / 开头;/ 表示配置的服务器 root。 | |
| server | No | 可选服务器别名;省略时使用默认服务器。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||