ssh_list_dir
List files and subdirectories in a remote directory over SSH. Specify host and path, optionally show hidden files, and set a timeout for quick checks.
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": {
"host": "<host>"
},
"name": "ssh_list_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| timeout | No | ||
| remote_path | No | ~ | |
| show_hidden | No |