NexQL itself · stop 3 of 5

rebuild_index

Rebuilds the schema index from scratch.

Works in read modeSaves to your nexql-mcp setupTool sets: query · dba · full

You might ask

“Re-read the schema; we just added tables.”

Your assistant may call rebuild_index to answer.

How it works

  • full (default) reads structure and sample values; shallow reads structure only and is quicker on big schemas.
  • Only one build runs per database at a time; a second request waits for the first.

Parameters

depthstring
Index scope: "shallow" (structure only) or "full" (structure + sample values). Default "full".

What your assistant reads

The description nexql-mcp sends with the tool. It's how the assistant decides when to use it.

Rebuild the schema index for the active database connection.