List a remote directory
ssh_list_dirLists files and folders in a remote directory over SFTP, returning entry type, size, and modification time for inspection.
Instructions
Lists the entries of a directory on a host over SFTP, with type, size 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>",
"path": "<path>"
},
"name": "ssh_list_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Name of a configured host, as returned by ssh_list_hosts | |
| path | Yes | Absolute path, or one relative to the login directory |