yuque_web_search
Search Yuque documents, books, and users with scope/type filters and advanced query syntax. Returns full document objects without extra calls.
Instructions
Cookie-based web search across Yuque docs/books/users. Returns full document objects (_record) without needing a second get_doc call. Supports scope filtering (repo/group), type filtering (content/book/user), pagination, AND advanced search syntax: "phrase", in:title, NOT/AND/OR, updated:>YYYY-MM-DD, url:scope, is:related/public. Requires cookie+ctoken in config. GET /api/zsearch?q=:q&type=:type&scope=:scope&p=:p. ⚠️ Cookie-based API — QPS unknown, avoid concurrent calls. 详见 references/api/search_api.md
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | No | Page number (1-based, default 1, max 100) | |
| q | Yes | Search keyword (required). Supports advanced syntax: "phrase", in:title, NOT/AND/OR, updated:>YYYY-MM-DD, url:scope, is:related/public. 详见 references/api/search_api.md | |
| type | No | Search type: content (docs) / book (repos) / user (users). Default: content | |
| scope | No | Search scope. Root '/' for global, '/group_slug' for team, '/group_slug/book_slug' for a repo. Default: / |