Get a documentation page
get_doc_pageReturns the content of a page of the OpenVidu documentation (openvidu.io) for a specific version, or of several pages at once with 'urls' (one round trip instead of several). Pass exactly one of 'url' and 'urls'. A URL ending in a #anchor, as search_docs returns for a match under a heading, returns only that heading's section, subsections included; 'heading' does the same by name, and comes with the page's 'intro' and 'headings': when the answer may also depend on setup or context described elsewhere, read those sections too, or drop the anchor to read the whole page. A page longer than 'max_chars' comes back cut: 'truncated' is true, 'total_chars' is its full length, 'next_offset' is the 'offset' that reads the next chunk, and 'headings' lists its sections and their sizes, so you can read only the one you need. Every URL returned is the page as a person opens it: link those in answers. list_doc_sections with 'section' gives valid URLs; so does search_docs. The response includes 'version_used': always tell the user which documentation version what you're telling them corresponds to. If it also carries 'version_warning', or 'version_sensitive': true on a result or in a page's 'version_note', the page changes between versions: say so explicitly and explain how to specify a different one. The index has no notion of edition or product, so if the answer depends on either, say which one you assumed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | One page URL, as list_doc_sections or search_docs return it. With a #anchor, only that heading's section. | |
| urls | No | Several page URLs instead of 'url', up to 10. Each comes back under 'pages', with its own error if it is not in the index, and a #anchor reads that section only. | |
| offset | No | Character of each page to start from. Pass a previous response's 'next_offset' to read on. | |
| heading | No | With 'url': read only the section under this heading, by its text as 'headings' or search_docs name it, or by its anchor. | |
| version | No | Version of the OpenVidu SERVER the project's deployment runs, as the deployment reports it ('3.9.0', '3.9.1'): documentation is published per minor release, so it resolves to '3.9'. DO NOT INFER it from the project's dependencies (livekit-client, livekit-server-sdk, web components): their versions do NOT correspond to the server's, and passing one here returns documentation for the wrong version. To find out for real, call 'resolve_openvidu_version_edition_product' with no arguments: it returns the procedure to obtain the version, the edition (ce/pro) and the product (Platform/Meet) from the deployment itself. Cheaper first check: the project's AGENTS.md/CLAUDE.md, where it may already be pinned. If you have none of these, OMIT the parameter: the default version is used and the response tells you whether that matters for the page being queried. Don't guess. | |
| max_chars | No | Characters of each page to return, from 'offset'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The page as a person opens it: link this one. | |
| error | No | Why this page could not be returned. | |
| intro | No | The page's text before its first section, with a section. | |
| pages | No | ||
| content | No | ||
| heading | No | The heading whose section this is. | |
| headings | No | The page's headings, when it is cut, a section of it was read, or the heading asked for is not on it. | |
| truncated | No | The page goes on past this chunk. | |
| versioned | No | ||
| page_chars | No | Length of the whole page, when a section was read. | |
| next_offset | No | 'offset' of the next chunk, when truncated. | |
| total_chars | No | Length of the page, or of the section read. | |
| version_used | No | Documentation version that answered. | |
| requested_url | No | ||
| resolved_from | No | How it was chosen: default, explicit, normalized, alias_latest, or url (the release a get_doc_page URL names). | |
| default_version | Yes | ||
| heading_not_found | No | ||
| available_versions | Yes |