refresh
Trigger a background reindex after large external changes to update the code context without restarting the server.
Instructions
Trigger a background reindex without restarting the server. Use after large external changes (git checkout, cache import, file restore). By default blocks until the new index is active (60s timeout). Pass wait=false for fire-and-forget, or timeout to extend the wait window for large repos that need more than 60s to reindex.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | When false, return immediately with `{triggered: true}` after firing the reindex; do not block on the swap event. Default true. | |
| timeout | No | Seconds to wait for the swap event when wait=true. Clamped to [1, 600]. Ignored when wait=false. Default 60. |