yuque_list_docs
List documents in a Yuque repository sorted by update time, with pagination, deleted-doc view, and change-time filtering for incremental sync.
Instructions
List documents in a repo, sorted by updated_at desc. limit ≤ 100. Supports deleted (recycle view) and changed_at_gte (incremental sync). GET /repos/:id/docs. 详见 references/api/doc_api.md
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": {
"book_id": "<book_id>"
},
"name": "yuque_list_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Return raw full JSON (default false, returns trimmed fields) | |
| limit | No | Page size, max 100, default 100 | |
| offset | No | Pagination offset, default 0 | |
| book_id | Yes | Repository ID (numeric) or namespace like group/book_slug (required) | |
| deleted | No | Return the deleted-docs view (default false). ⚠️ Yuque treats the mere presence of this param as truthy, so it is only sent when true; response items carry deleted_at / deleted_slug | |
| changed_at_gte | No | Only return docs changed at/after this ISO 8601 time (incremental sync), e.g. 2026-10-16T00:00:00Z | |
| optional_properties | No | Extra fields, comma-separated. Supports: hits, tags, latest_version_id |