index_workspace
Index code files recursively in a directory using Tree-sitter AST chunking and vector storage, skipping unchanged files unless force is enabled.
Instructions
Recursively finds code files in directory_path and indexes them using Tree-sitter AST chunking,
FastEmbed vector generation, and Turbovec storage. Skips unchanged files automatically unless force=True.
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": {
"workspace_id": "<workspace_id>",
"directory_path": "<directory_path>"
},
"name": "index_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| workspace_id | Yes | ||
| directory_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |