collect_messages
Bulk-fetch recent LINE messages into a local cross-conversation search index, enabling keyword and semantic search across chats. Use it to force a reconcile or backfill specific conversations.
Instructions
Bulk-fetch recent messages from LINE conversations into Yomi's local cross-conversation search index (LINE has no native cross-chat search). Fetches up to per_chat per chat (default 100) for chat_ids, or all conversations when omitted, and indexes them for keyword search. Semantic vectors are produced by a background worker in idle batches, so a collect does not wait for the whole embedding backlog. A background capture loop keeps the index current on its own, so call this only to force a reconcile or backfill specific chats. Undecryptable messages are skipped, not fabricated.
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": "collect_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_ids | No | LINE chat/group/room MIDs to collect from, as returned by list_conversations. Omit to collect from all conversations. | |
| per_chat | No | Maximum recent messages to fetch per chat (default 100). |