file_list
List files and subdirectories in a remote directory on a specified server, enabling quick inspection of server file structures for operations and troubleshooting.
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": {
"server": "<server>",
"path": "<path>"
},
"name": "file_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 远程目录路径,如 /data/www 或 /var/log | |
| server | Yes | 目标服务器名称 |