project_index_refresh
project_index_refreshRefresh project index freshness by running the indexer on stale, deleted, or unindexed snapshots. Returns before/after summaries and the new index run.
Instructions
Mutation tool for index freshness: run the project indexer through the current project-store cache when the snapshot is stale, unknown, deleted, or has unindexed files, then return before/after freshness summaries and the new index run. In if_stale mode, unknown freshness refreshes defensively and unindexed files count as stale work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | ||
| projectRef | No | ||
| mode | No | ||
| reason | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toolName | Yes | ||
| projectId | Yes | ||
| projectRoot | Yes | ||
| skipped | Yes | ||
| operatorReason | No | ||
| reason | Yes | ||
| before | Yes | ||
| after | No | ||
| run | No | ||
| stats | No | ||
| warnings | Yes | ||
| _hints | Yes |