Codumentor logo Codumentor Enterprise

Product Documentation Plugin

The product_docs plugin gives agents one read-only tool, codumentor_docs, to search and read the documentation shipped with Codumentor. It needs no network connection, workspace ingestion, embeddings, or credentials and works without the web interface enabled.

Configuration

plugins:
  - module: codumentor.plugins.product_docs
    class: ProductDocsPlugin
    args:
      enabled: true
      target_agents: all
ParameterDefaultDescription
enabledtrueRegister the documentation tool.
target_agentsallAgent kinds or roles that receive the tool, using the standard plugin targeting rules.

The plugin ships in every edition. Enterprise, personal, marketing, and investigate default configurations enable it; minimal and root do not. Explicit operator configuration can enable or disable it independently of these defaults.

Agent tool

Search and section reading are mutually exclusive. Results include the bundled edition and version, section identifiers, language, documentation URLs, and truncation/continuation metadata. Search excerpts have a shared text budget of 7,500 characters; section reads return at most 8,000 characters. Metadata adds a small overhead. Section text does not automatically include child sections.

The small tool schema stays visible even when tool search defers other tools. Documentation is never injected into the prompt automatically.

Availability and limitations

Documentation describes supported behavior, not the current instance's enabled plugins, configuration, or the caller's permissions. The tool does not read live configuration, reveal secrets, or grant configuration-editing access. Agents should verify live availability separately when necessary.

The corpus is generated from the same edition-filtered pages as the documentation website, with stable identifiers based on published URLs. Search is lexical rather than semantic. Exact feature names, configuration keys, and alternative search terms help when a broad natural-language query finds no relevant result.

Installed builds load only their bundled corpus. Source checkouts use generated documentation under ui/dist/docs or, if absent, ui/public/docs. Generate it with npm run build:user-guide from ui/. A missing or invalid corpus produces an explicit tool error rather than falling back to unrelated workspace files.