Rebuild the tool search index
discover_refresh_indexRebuilds the in-memory tool search index to include tools mounted or changed at runtime. Use when new tools are added after initial startup.
Instructions
Force-rebuild the in-memory tool search index.
Drops the cached index and rebuilds it from _ROOT.list_tools(). Only
nexus's own in-process cache is affected — nothing in HA changes.
Use when: tools were mounted or changed at runtime after the index was
first built (normally only relevant during development, since
server.py mounts every namespace once at startup).
Not for: routine searches — discover_tool_search/
discover_list_namespaces/discover_get_tool_doc already rebuild the
index lazily on first use.
Returns: {"status": "rebuilt", "tools": <count>}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||