get_file_size
Retrieves the size of a file at a given path on a 1Panel server, helping you monitor storage, verify uploads, or plan backups and cleanup.
Instructions
Get file size
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": {
"path": "<path>"
},
"name": "get_file_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |