reindex_project
Rebuilds a project's search index from scratch by deleting all indexed data and re-syncing, useful when the index is corrupted or embeddings need regenerating.
Instructions
Force a full reindex: delete all indexed data for a project and rebuild from scratch.
Use when the index is corrupted, embeddings need regenerating, or you want a clean slate without manually removing and re-syncing.
Input:
project (str, optional): project name — used to look up the directory from stored metadata
project_dir (str, optional): explicit path to project root — takes precedence over project name
If both are empty, defaults to the current working directory
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "reindex_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| project_dir | No |