batch_add_notes_to_topic
Adds up to 20 notes at a time to a specified knowledge base, optionally placing them in a target directory.
Instructions
批量将笔记添加到知识库(每批最多 20 个)。
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": {
"topic_id": "<topic_id>",
"note_ids": "<note_ids>"
},
"name": "batch_add_notes_to_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note_ids | Yes | 笔记 ID 列表(字符串格式,最多 20 个) | |
| topic_id | Yes | 知识库 ID | |
| directory_id | No | 目标目录 ID;不传则加入知识库根目录 |