Read a library entry
restaurantdoctor_read_knowledgeReads one entry of RestaurantDoctorAI's library in full (a guide, a blog post, a playbook fix, the targets, a fact or a knowledge entry), by its id (such as 'guide:restaurant-prime-cost'), with its title, link and source. A long entry comes 8,000 characters at a time, with its total length: the next part starts at the nextOffset it returns. The query isn't stored; only an anonymous daily count of searches and reads is kept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | An entry id, as the library's search and list give it, e.g. 'guide:restaurant-prime-cost' or 'post:restaurant-break-even-point'. | |
| offset | No | Where to start, in characters (default 0, the start). A long entry comes 8,000 characters at a time: the next part starts at the nextOffset the previous read returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The entry's id, which reading the entry in full takes. | |
| url | Yes | Where a reader can check it: the page on restaurantdoctorai.com, or the fact's own source. | |
| kind | Yes | ||
| note | Yes | ||
| text | Yes | The entry's text from offset, up to 8,000 characters. | |
| title | Yes | ||
| offset | Yes | Where this part starts, in characters. | |
| source | Yes | Who says so, with the date it was checked or updated where there is one. | |
| truncated | Yes | More of the entry follows this part (nextOffset says where). | |
| nextOffset | Yes | ||
| totalLength | Yes | The whole entry's length, in characters. |