haops_create_doc_section
Create a new section within a documentation artifact using its slug. Provide title, optional HTML content, parent section UUID, and source hint.
Instructions
Create a new section within a documentation artifact. IMPORTANT: Uses artifactSlug (kebab-case slug of the parent artifact, e.g. "deployment" or "api-routes") — NOT the artifact UUID. This is an exception: most other create-* tools use UUID identifiers. Use haops_list_doc_artifacts to find the slug for a given artifact before calling this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Section title | |
| content | No | Section content in HTML (optional) | |
| verbose | No | If true, return the full API response instead of the compact summary (default: false) | |
| parentId | No | UUID of parent section for nesting (optional, null for top-level) | |
| sourceHint | No | Reference to source file e.g. "lib/models/User.ts" (optional) | |
| projectSlug | Yes | The project slug | |
| artifactSlug | Yes | Kebab-case slug of the parent documentation artifact (e.g. "deployment", "api-routes"). NOT a UUID — use haops_list_doc_artifacts to find the slug. |