yuque_update_toc
Update the table of contents for a Yuque repository or book by supplying the repo ID and TOC data in JSON format.
Instructions
Update the table of contents (TOC) for a repo/book
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": {
"repo_id": "<repo_id>",
"toc_data": "<toc_data>"
},
"name": "yuque_update_toc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_id | Yes | Repo ID or namespace (e.g., "mygroup/mybook") | |
| toc_data | Yes | TOC data as JSON string |