ssh_list_directory
List the contents of a directory on a remote SSH host, including type, size, permissions, and modification time. Use it to inspect remote files without manual SSH commands.
Instructions
List the contents of a directory on a remote SSH host (defaults to the remote user's home directory). Each entry includes type, size, permission bits and modification 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": {
"host": "<host>"
},
"name": "ssh_list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | SSH config alias of the target host | |
| path | No | Directory path (defaults to the remote user's home directory) |