index_folder
Indexes Markdown, text, and PDF documents in a folder for semantic search, skipping unchanged files and removing deleted ones.
Instructions
Indexes the documents in a folder and its subfolders (Markdown, text and PDF files) so they can be searched with search_docs. Files that haven't changed since the last run are skipped, and files that were deleted are removed from the index.
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": {
"path": "<path>"
},
"name": "index_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of the folder to index. |