search_messages
Search LINE messages using hybrid keyword and semantic ranking to find exact terms or paraphrases, returning an explicit mode so you know which matching produced the results.
Instructions
Search across your LINE messages. Hybrid ranking: FTS5 keyword search (covers every indexed message, so exact matches are never dropped) fused with semantic similarity when embeddings are available — the mode field reports which contributed (hybrid | semantic | keyword). Semantic ranking runs only when the vector index covers enough of the corpus and only within a timeout; otherwise the search degrades to the keyword index and says so in mode. If the index is empty and a session is live, it auto-collects the conversations within a time budget first; a populated index searches locally with no network. Empty index with no session returns an honest notice, never a fabricated match list.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (default 20). | |
| query | Yes | Search query. Plain keywords and natural-language descriptions both work — keyword matching catches exact terms, semantic matching catches paraphrases. |