Refresh Index
redctx_refresh_indexRebuild the in-memory path index and clear the redacted-content cache when a reference fails with Unknown path id.
Instructions
Rebuild the in-memory index that resolves @p_<id> references by rescanning the root, and clear the redacted-content cache; returns Refreshed path index.. Call it when a reference shown by redctx_list, redctx_tree or redctx_search fails with Unknown path id, which happens for files created or renamed after the index was built on first use. It changes no files; a very large root can fail with Traversal entry limit exceeded..
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The tool output, identical to the text content block and already redacted: sensitive values appear as deterministic `[CATEGORY_<hex>]` placeholders (forms declared as aliases of one entity share its hex and add a form suffix, `[CATEGORY_<hex>.<form>]`) and files as `@p_<id>` references. When the result has `isError: true`, this is a fixed error message instead, such as a limit error or the notice that context access is blocked until the operator repairs the local redaction config. | |
| receipt | Yes | Redaction statistics for this call only; never contains original values. |