Everything 结果计数
everything_countCount how many indexed files or folders match an Everything search query and return only the total, without transferring a file list. Use it to answer questions like how many PDFs exist in a folder.
Instructions
只返回匹配数量,不传输文件列表。适合「我电脑上有多少个 PDF」「这个目录里有多少张图」这类问题。
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": "everything_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Everything 搜索表达式,例如 "ext:pdf 报告"、"size:>1gb ext:iso"、"dm:last7days ext:docx" | |
| folder | No | 只在这个目录下搜索(会转成 path:"..." 过滤),例如 "D:\\work" |