file_list
Lists a remote SFTP directory, returning each entry’s name, size, mode, and modification time; missing paths return REMOTE_ERROR.
Instructions
List a remote directory over SFTP (name, size, mode, mtime); missing directories fail with REMOTE_ERROR.
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": {
"remotePath": "<remotePath>"
},
"name": "file_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| remotePath | Yes |