sync_messages
Sync Telegram messages from all chats or a specific chat into a local SQLite cache to enable fast offline search and analytics.
Instructions
Sync messages from all chats (or a specific chat) into the local SQLite cache for fast offline search and analytics
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": "sync_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max messages per chat (default 1000, max 5000) | |
| chat_id | No | Optional: sync only this chat. Omit to sync all. | |
| max_chats | No | Max chats to sync when syncing all (default 50) |