Product Q&A from shipped docs
log10x_product_qaAnswer Log10x product questions from the built-in docs corpus instead of training data. Look up exact doc slugs or run natural-language search, returning ranked, cited results.
Instructions
Answer Log10x product questions from the docs corpus that ships inside the MCP build (chunked + indexed at install time). Use whenever the user asks a factual product question — "what is the Receiver", "how is pattern_hash computed", "what data leaves my network", "does the Reporter modify data" — instead of answering from training data. Inputs: topic for an exact docs-slug lookup (e.g. faq/security/data-protection), or query for natural-language TF-IDF search across the corpus. category narrows search to one of faq / apps / engine / api / config / manage. max_results caps the result count (default 3). Output is a standard chassis envelope with found, ranked results (each carrying matched chunks + canonical_url), and similar_topics as a did-you-mean fallback. Always cite canonical_url when surfacing an answer to the user. The corpus is shipped from config/mksite/docs at build time; in development the loader also honors LOG10X_PRODUCT_KB_PATH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Response detail. "short" (default) returns a tight grounded answer plus citation metadata (topic + canonical_url, no section bodies) and offers a chained learn_more action per citation. "full" returns the matched section bodies for one specific page and is requested via the learn_more action the short response hands back (pass that action verbatim: `topic` + `depth: "full"`). | |
| query | No | Natural-language query — prefer this for how-to / content questions. Examples: "what does the kustomize overlay patch", "how is pattern_hash computed". When `topic` is also set, ranks that page's sections by this query. | |
| topic | No | Exact docs slug to fetch a known page. Example: "faq/security/data-protection" or "apps/receiver/deploy". For a multi-section page, ALSO pass `query` to get the asked-about section instead of the page intro. | |
| category | No | Restrict results to one category. One of: faq, apps, engine, api, config, manage. Combines with `query`. | |
| max_results | No | Cap on the number of results returned. Default 3. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| tool | Yes | ||
| view | No | summary | |
| images | No | ||
| actions | No | ||
| summary | Yes | ||
| warnings | No | ||
| truncated | No | ||
| next_cursor | No | ||
| render_hint | No | ||
| generated_at | Yes | ||
| schema_epoch | Yes | ||
| schema_version | Yes |