sftp_list_dir
Lists remote directory entries with structured metadata—type, permissions, owner, size, and modified date—so agents can inspect files over SSH before managing them.
Instructions
List remote directory entries with structured file metadata (type, permissions, owner, size, modified date).
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": {
"dirPath": "<dirPath>"
},
"name": "sftp_list_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Optional SSH connection target. If omitted, uses default profile (homelab). | |
| dirPath | Yes | Absolute remote directory path. |