List Remote Directory
ssh_lsLists files and directories at an explicit remote path, returning type, size, permissions, and modified time for remote host inspection.
Instructions
List files and directories at an explicit remote path with type, size, permissions, and modified time.
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": {
"target": "<target>",
"path": "<path>"
},
"name": "ssh_ls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Explicit remote absolute path (e.g. /etc/nginx/nginx.conf or C:\Services\app.json) or home-relative ~/... path. Bare relative paths are rejected. | |
| target | Yes | SSH target as configured host alias, host, user@host, user@host:port, or [ipv6]:port. Never include remote paths in target. | |
| max_entries | No | Maximum entries to return (default: 500) | |
| show_hidden | No | Include dotfiles / hidden files (default: true) |