yuque_delete_book_stack
Permanently deletes a knowledge base group (book stack) after confirmation with 'DELETE'; ensure the group is empty first because deletion cannot be undone.
Instructions
删除知识库分组(书架)。⚠️ 不可恢复!需传 confirm='DELETE' 二次确认。DELETE /api/book_stacks/{stack_id}。分组内须先清空知识库。
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": {
"stack_id": "<stack_id>",
"confirm": "<confirm>"
},
"name": "yuque_delete_book_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | 危险操作二次确认,必须传 'DELETE' | |
| stack_id | Yes | 要删除的分组 ID(书架 ID,必填) |