Search CometChat Documentation
search_cometchat_docsSearches all of CometChat's documentation (SDKs, UI Kits, Calls, REST API, AI agents, notifications, moderation, the no-code widget, UI Kit Builder and more) for the pages covering a topic or API name, and returns ranked excerpts with each page's url.
When a page's url or path is already in hand, fetch_cometchat_doc_page returns that page in full; for a common setup scenario (a UI Kit quickstart, SDK messaging, the widget, moderation), list_cometchat_bundles names the implementation bundles, each the scenario's current docs pages compiled into one document.
Pages holding every keyword rank first, falling back to any keyword when no page holds them all; no match is an empty results list, not an error. For a query of 4 to 8 distinct keywords, pages missing one incidental keyword join the ranking at half weight, which is how an API renamed between versions is still found; a platform or language word is never the one dropped. Without the version filter, current-version pages lead, and each result reports isCurrent plus a version label when the page is versioned; the filter restricts results to pages carrying that label, so unversioned pages such as the REST API reference are excluded. limit caps the rows returned, never the totalAvailable count, and there is no offset.
Results come from a snapshot of the documentation repository, rebuilt periodically, so a page published since the last rebuild is missing until then; fetch_cometchat_doc_page reads the live site. Errors: invalid_input for a malformed argument, backend_unavailable when the index cannot be read. Over HTTP, every MCP request counts against one per-client-IP limit, initialize and tools/list included, by default 120 per 60 s, then HTTP 429 with Retry-After; no authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results, from 1 to 25; default 10. | |
| query | Yes | Plain keywords, 1–500 characters; short queries work best. Name the platform or framework when the answer is platform-specific ("iOS delete message", "React UI Kit message list"); otherwise results span platforms. API names such as markAsRead are searchable, as are the languages of a page's code examples. Quotes and operators such as OR have no special meaning, and common words such as "how", "is" and "can" are not counted as keywords. A version written in the query ("v4") is matched as a keyword: it favours pages mentioning it but does not restrict results to that version, even when it is the whole query. To get one version's pages, put the label in the version filter instead. | |
| version | No | Version label from the docs version picker, e.g. 'v5'. The leading v is optional and case does not matter, so V7, 7 and v7.0 all name v7. Each SDK and UI Kit numbers its versions independently, so one label spans every product that uses it. A label no page carries returns no results rather than an error. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | Matching pages, best first. | |
| totalAvailable | Yes | Number of matching pages, which can exceed the rows returned. For a query of 4 to 8 distinct keywords it also counts the pages holding all but one of them. |