list_dir
List entries of a remote directory over SFTP to view files and folders on remote hosts.
Instructions
List the entries of a remote directory over SFTP.
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": "list_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| path | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||