search_index
Search local documents and PDF pages without remote requests, returning source paths, snippets, and line or page matches. Use it to find evidence in synced WebDAV content.
Instructions
Search existing local documents and PDF pages with no remote requests.
Use the same directory as sync_index. Matches include source path, bounded snippet, and either a 1-based text line or a 1-based physical PDF page. Use include_headings for the Markdown heading path. Check incomplete and last_complete_sync_at for the scope's freshness. pdf_documents_with_empty_pages counts mixed PDFs whose image-only or blank pages have no searchable text; a miss only covers extracted text.
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": {
"keyword": "<keyword>",
"path": "<path>"
},
"name": "search_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| keyword | Yes | ||
| max_results | No | ||
| max_documents | No | ||
| include_headings | No |