Stellarion
Tools

stellarion_reindex_workspace

Trigger a full or incremental reindex of the workspace

Rebuilds the code graph and search index for the entire workspace. By default runs incrementally (only processing changed files). Use force: true for a complete rebuild from scratch.

When to Use

  • You pulled a large batch of changes and want the index up to date
  • Search results seem stale or incomplete
  • You changed project structure (renamed directories, moved files)
  • You suspect index corruption and want a clean rebuild

Parameters

ParameterTypeRequiredDefaultDescription
forcebooleannofalseWhen true, performs a full reindex from scratch instead of incremental

Examples

Incremental reindex (fast)

Natural language:

Update the index with recent changes

MCP call:

{
  "tool": "stellarion_reindex_workspace",
  "arguments": {}
}

Full reindex (clean rebuild)

Natural language:

Rebuild the entire index from scratch

MCP call:

{
  "tool": "stellarion_reindex_workspace",
  "arguments": {
    "force": true
  }
}

Output Format

Returns indexing progress and summary:

  • filesProcessed — Number of files parsed and indexed
  • symbolsIndexed — Number of symbols added to the graph
  • duration — Time taken for the indexing operation
  • errors — Any files that failed to parse

Tips

  • Prefer incremental reindexing (default) — it only processes files that changed since the last index, which is much faster.
  • Use force: true after major refactors, branch switches, or if you suspect index issues.
  • A full reindex on a large codebase can take a minute or more. Incremental updates typically complete in seconds.
  • Indexing happens automatically in the background when files change, so you rarely need to call this manually. Use it when you want to ensure the index is current before running analysis tools.