index_folder
Index all supported source files in a directory tree, parsing symbols and imports into a local SQLite database. Re-runnable safely with idempotent file replacement, returning indexed counts.
Instructions
Index every supported source file under path (absolute or relative).
Walks the tree, parses each file with tree-sitter, and stores symbols + imports in the local SQLite index. Safe to re-run; files are replaced idempotently by path. Returns counts of what was indexed.
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 |