yuque_create_book
Create a new knowledge base (book) for a Yuque user. Specify name, slug, and visibility settings to organize your content.
Instructions
Create a new book (知识库) for the current user
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": {
"login": "<login>",
"name": "<name>",
"slug": "<slug>"
},
"name": "yuque_create_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| login | Yes | User login name | |
| name | Yes | Book name | |
| slug | Yes | Book slug (URL-friendly identifier) | |
| description | No | Book description | |
| public | No | Public visibility: 0 (private) or 1 (public) | |
| repo_type | No | Book type: Book, Design, etc. |