ragflow_search_memory_messages
Search stored memory messages by query across specified memory IDs, returning relevant matches ranked by similarity and keyword weighting.
Instructions
Search memories for messages relevant to a query.
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>",
"memory_ids": "<memory_ids>"
},
"name": "ragflow_search_memory_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search text or question | |
| top_n | No | Maximum number of matches | |
| user_id | No | ||
| agent_id | No | ||
| memory_ids | Yes | IDs of the memories to use | |
| session_id | No | ||
| similarity_threshold | No | ||
| keywords_similarity_weight | No | Weight of keyword versus embedding matching |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||