kb_learn_file
Ingest a local text file into a searchable knowledge base. Specify a sandboxed file path and optional comma-separated tags to organize learned content.
Instructions
从本地文本文件学习内容并写入知识库。
Args: path: 相对于 files.root 沙箱的文件路径。 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": {
"path": "<path>"
},
"name": "kb_learn_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| tags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |