ftp_dir_size
Calculate the total size of a remote directory recursively, including all subdirectories and files, to assess storage usage across FTP/FTPS/SFTP connections.
Instructions
Calculate the total size of a remote directory recursively
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": {
"connection": "<connection>",
"path": "<path>"
},
"name": "ftp_dir_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Remote directory path | |
| connection | Yes | Connection name |