get_result_count
Retrieve the count of files matching a search query without listing the results, enabling quick assessment of file quantities. Optionally filter by folder path or file extension for targeted counts.
Instructions
Get the count of matching files without listing them (fast).
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_result_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| folder_path | No | ||
| extension | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |