add_document
Add a single document to the MCP Knowledge Base Server to index and process its content for querying. Supports formats like PDF, DOCX, TXT, and HTML.
Instructions
添加单个文档到知识库
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | Yes | 文档文件路径 |
Input Schema (JSON Schema)
{
"properties": {
"file_path": {
"description": "文档文件路径",
"type": "string"
}
},
"required": [
"file_path"
],
"type": "object"
}