search_files
Find files by full-text queries across names, paths, and extracted document contents, with filters for extension, folder, file kind, and modified date.
Instructions
Full-text search over file names, paths and extracted contents (PDF, Word, Excel, PowerPoint, text, code, zip listings, OCR'd scans and images). Every word must match; words are prefix-matched. FTS5 syntax ("exact phrase", OR, NOT) also works. ext: comma list like "pdf,docx". folder: substring of the path, or "/..." to search one indexed folder. kind: document | text | archive | image | media | binary | other. modified_after: YYYY-MM-DD.
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_text": "<query_text>"
},
"name": "search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ext | No | ||
| kind | No | ||
| limit | No | ||
| folder | No | ||
| query_text | Yes | ||
| modified_after | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |