kb_search
Search the SQLite knowledge base and return relevant text snippets for a query, with optional tag filtering and result limits.
Instructions
检索知识库,返回最相关的片段。
Args: query: 查询文本。 top_k: 返回片段数,1-50;0 表示使用配置值。 tags: 逗号分隔的标签过滤(需全部匹配)。
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": "kb_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| query | Yes | ||
| top_k | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |