ssh_list_directory
Lists remote directory contents via SFTP, returning file name, type, size, permissions, and modification timestamp for server inspection.
Instructions
List remote directory contents via SFTP, returning filename, file type, file size, permissions, and modification timestamp.
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": {
"serverId": "<serverId>"
},
"name": "ssh_list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | The remote path to list. Defaults to remote home/current directory if omitted. | |
| serverId | Yes | The ID of the configured target server. |