Fetch CometChat Documentation Page
fetch_cometchat_doc_pageReturns one CometChat documentation page in full, as markdown with its title, url and section. Takes a url or path already in hand: a docs link from a bundle, or a result url from search_cometchat_docs, which is where a topic or API name goes instead, since that is not a path.
Each call reads the live docs site, so it sees pages the search index has not picked up yet. A moved page is followed for up to 3 redirects; a page over 50 KiB is truncated, ending in a link to the full page. No key or account is needed, and nothing is cached.
Errors: not_found for an unknown page or one redirected to the docs root, invalid_input for a path resolving outside the documentation, backend_unavailable when the site fails or the whole redirect chain exceeds the 5 s default timeout (retryable).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Page path such as '/sdk/javascript/overview' (a leading slash, a '/docs' prefix and a '.md' or '.mdx' suffix are optional), or a full https://www.cometchat.com/docs/... URL; up to 500 characters. Query strings and #fragments are ignored. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute canonical page url, after any redirect. | |
| title | Yes | Page title. | |
| content | Yes | Page body as markdown. | |
| section | Yes | Documentation section, derived from the page's path. | |
| contentLength | Yes | Byte length of content, after any truncation. | |
| redirectedFrom | No | Path originally requested, present only when that page has moved; url and section describe where it landed. |