search_messages
Search messages by content keywords. Filter by Agent ID to narrow results to specific senders or recipients.
Instructions
全文搜索消息内容。支持按 Agent ID 筛选。使用 SQL LIKE 模糊匹配(暂无 FTS5 索引)。
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 | 最大返回数量 | |
| query | Yes | 搜索关键词 | |
| agent_id | No | 限定 Agent ID(按发送方或接收方过滤) |