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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rebuild_search_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| background | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||