Sync the local index
syncFetch new, edited, and deleted Rocket.Chat messages into a local decrypted index for one room or all rooms, backfilling older history in chunks.
Instructions
Fetch new, edited and deleted messages into the local index of decrypted messages, for one room or for all rooms. Older history is backfilled in chunks of up to max_messages (default 2000) per room per call: if note says history is incomplete, call again. Returns what changed per room. Only reads from Rocket.Chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Discard the local copy and re-index from scratch. | |
| room | No | Sync only this room (default: all rooms that changed). | |
| max_messages | No | Backfill at most this many older messages per room in this call. |