Tools

search_chats

Search full sampled answers by case-insensitive substring or all whitespace-separated keywords. Up to 20 matches, previews at most 2000 characters.

Arguments#

Name Type Required Values and constraints
host string Required maxLength 253 Project host from list_projects, without scheme or path.
query string Required maxLength 300
days integer Optional 7, 30, 90 Inclusive calendar days; defaults to 30.
limit integer Optional min 1 max 20

Additional properties are rejected.

Example call#

Send this JSON-RPC body to POST https://app.keptai.com/mcp after the client’s initialize handshake, with your Bearer header.

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "search_chats",
    "arguments": {
      "host": "example.com",
      "query": "pricing"
    }
  }
}

Result and limits#

At most 20 matches; answer previews are capped at 2,000 characters. Searches full stored answers before producing previews.

Results contain text JSON and structuredContent. Check isError on tool failures and _meta.truncated for clipped data. All tools are read-only and respect project access. See Setup for authentication and rate limits.

Search titles, guides, and API references.