search_knowledge_file
Find exact text matches within a specific knowledge base file to quickly locate relevant passages without invoking a model.
Instructions
Find literal text matches inside one knowledge base file; no DeepTutor model call
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": {
"kb_name": "<kb_name>",
"filename": "<filename>",
"query": "<query>"
},
"name": "search_knowledge_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum matches; max 10 | |
| query | Yes | Literal phrase to find | |
| kb_name | Yes | Knowledge base name | |
| filename | Yes | File path from list_knowledge_files |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | 原始 DeepTutor 工具返回值;其具体字段由对应 DeepTutor API 决定。 |