Loading...
Loading...
WeRead Assistant — Search books, manage bookshelf, view notes and underlines, browse book reviews, reading statistics, discover and recommend good books
npx skill4agent add tencent/wechatreading weread-skills| Capability | Description | User Example | Detailed Instructions |
|---|---|---|---|
| Search Books | Search in the book store | "Help me search for The Three-Body Problem" | |
| Book Information | View book details, chapter catalog, reading progress | "How many chapters does this book have?" "Where did I leave off reading?" | |
| Bookshelf Management | View bookshelf | "Show me my bookshelf" | |
| Reading Statistics | Reading duration, days, preference analysis, reading statistics summary | "How long did I read this month?" "How many books have I read this year?" | |
| Notes & Underlines | View personal note count and content, including underlines, thoughts/comments, bookmark count | "Show me my notes in The Three-Body Problem" "Export my underlines" "How many notes do I have in this book?" | |
| Popular Underlines in Chapters | View popular underlines in books/chapters, underline popularity and thoughts under underlines | "Show me the popular underlines in this chapter" "What thoughts are there under this passage?" | |
| Book Reviews | View public reviews of books | "What are the reviews for The Three-Body Problem?" "Show me recommended reviews" | |
| Recommend Good Books | Personalized recommendations/similar recommendations | "Recommend some books to me" | |
POST https://i.weread.qq.com/api/agent/gatewayAuthorization: Bearer $WEREAD_API_KEYWEREAD_API_KEYwrk-xxxxxxxxexport WEREAD_API_KEY=<your apikey>api_nameskill_versioncurl -X POST "https://i.weread.qq.com/api/agent/gateway" \
-H "Authorization: Bearer $WEREAD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api_name": "/store/search", "keyword": "三体", "count": 10, "skill_version": "1.0.3"}'{"api_name":"/user/notebooks","count":100,"skill_version":"1.0.5"}lastSort{"api_name":"/user/notebooks","count":100,"lastSort":1516907353,"skill_version":"1.0.5"}params{"api_name":"/user/notebooks","params":{"count":100,"lastSort":1516907353},"skill_version":"1.0.5"}countlastSorterrcode{"api_name": "/_list"}"skill_version": "1.0.3"upgrade_infoupgrade_info.messageapi_nameskill_versionparamsdatabodyreviews/book/readreviewsreaddata.mdshelf.md/store/search/shelf/syncbooks.length + albums.length + (mp is not null ? 1 : 0)albums[]shelf.mdchapterUidrangeupdateTimecreateTimefinishTimereadUpdateTime1748563200chapterUidrangeweread://reading?bId={bookId}| Parameter | Description | Source |
|---|---|---|
| Book ID | |
weread://reading?bId=3300045871weread://reading?bId={bookId}&chapterUid={chapterUid}| Parameter | Description | Source |
|---|---|---|
| Book ID | |
| Chapter UID | |
weread://reading?bId=3300045871&chapterUid=107weread://bestbookmark?bookId={bookId}&chapterUid={chapterUid}&rangeStart={rangeStart}&rangeEnd={rangeEnd}&userVid={userVid}| Parameter | Description | Source |
|---|---|---|
| Book ID | |
| Chapter UID | |
| Underline start position | The number before |
| Underline end position | The number after |
| User VID | User ID automatically associated after API Key authentication (obtained from the context of interfaces like |
range Parsing: Thefield returned by the underline interface is in the formatrange(e.g.,"start-end"), split it and fill in"900-2004"andrangeStartrespectively.rangeEnd
weread://bestbookmark?bookId=3300045871&chapterUid=107&rangeStart=900&rangeEnd=2004&userVid=583802764/book/bookmarklistrange/book/bestbookmarks/book/underlines/review/list/mine/book/readreviewschapterUidrange