index_directory
Index markdown and text files from a directory to enable semantic search and structured memory in your knowledge graph.
Instructions
Index markdown/text files from a directory.
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_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path to index | |
| patterns | No | Glob patterns (default: *.md, *.txt) |