disk_usage
Calculate the total size of a local folder in megabytes. Specify a folder path to retrieve its disk usage.
Instructions
Calcule la taille totale d'un dossier en mégaoctets.
Args: path: chemin local du dossier, ex: ~/Downloads
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": "disk_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |