add_kb_document
Add documents to a knowledge base by specifying the target knowledge base ID and uploading up to 20 files via local absolute path (with MIME type), URL, or Base64 content.
Instructions
向知识库添加文档时调用;本地文件传绝对路径并带 mime_type,URL 直接传链接。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | 要上传的文档列表(最多 20 个) | |
| knowledgebase_id | Yes | 目标知识库 ID |