rebuild_search_index
Clear and rebuild the entire iMessage search index from scratch to fix search issues or update metadata, with optional background processing.
Instructions
Rebuild the entire search index from scratch.
This will:
Clear the existing search index
Re-index all messages from chat.db
Update sync metadata
Note: This does NOT generate embeddings. Use a separate tool for that.
Args: background: If True, runs the rebuild in a background thread and returns immediately with progress tracking info. If False, blocks until complete.
Returns: Dictionary with rebuild status and progress information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| background | No |