generate_documentation
Creates technical design docs, API references, runbooks, READMEs, or module overviews from supplied source material, returning a structured prompt for the host LLM to complete.
Instructions
Generate technical documentation — design doc, API reference, runbook, README, or module overview — from supplied source material. Returns a structured prompt the host LLM completes into the document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docType | Yes | Type of documentation to generate. | |
| subject | Yes | What is being documented (component name, API name, system area). | |
| audience | No | Primary readers: 'new joiners', 'on-call engineers', 'API consumers', etc. | |
| sourceMaterial | Yes | Source code, OpenAPI spec, design notes, existing docs to base the output on. |