Create IT Glue Document Section
itglue_create_document_sectionAdd a text, heading, gallery, or step section to an IT Glue document. Specify content and section type.
Instructions
Add a section to a document. Types: Text (HTML content), Heading (content = heading text, level 1-6 required), Gallery (no content), Step (HTML content, optional duration in minutes). Text/Step HTML may include inline images via (rendering depends on IT Glue's sanitization); to attach an image file to the document instead, use itglue_create_attachment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Position within the document (0-based) | |
| level | No | Heading level 1-6 (required for Heading) | |
| content | No | HTML content (Text/Step) or heading text (Heading) | |
| duration | No | Duration in minutes (Step only) | |
| document_id | Yes | The parent document ID | |
| section_type | Yes | Section type | |
| response_format | No | Output format: human-readable markdown (default) or structured JSON | markdown |