reindex_project
Rebuild the semantic index for a project after major code changes to keep search results accurate. Specify project path and name, optionally force a clean reindex.
Instructions
Re-index a project (useful after major code changes).
Args:
project_path: Absolute path to the project directory
project_name: Name to use for the collection
force: If True, deletes existing index before reindexing
Returns:
Dictionary with indexing status and statistics
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": {
"project_path": "<project_path>",
"project_name": "<project_name>"
},
"name": "reindex_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| project_name | Yes | ||
| project_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |