get_total_size
Get the combined file size of all files matching a search query, with optional folder and extension filters.
Instructions
Get the total size of all matching files.
Args: query: Search query folder_path: Limit search to specific folder (optional) extension: File extension filter (optional)
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": {
"query": "<query>"
},
"name": "get_total_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| folder_path | No | ||
| extension | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |