Create IT Glue Document Section
itglue_create_document_sectionAdd Text, Heading, Gallery, or Step sections to an IT Glue document using its document ID, with optional HTML content, heading level, position, or step duration.
Instructions
Add a section to a document. Types: Text (HTML content), Heading (content = heading text, level 1-6 required), Gallery (no content — add pictures afterwards with itglue_create_document_image using the new section's document_gallery_id), Step (HTML content, optional duration in minutes). IMAGES: to show a picture in Text/Step HTML, first upload it with itglue_create_document_image and use the returned inline_resource_url verbatim as . Public https:// image links also work; base64/data: URIs and S3 URLs are stripped by IT Glue. Attachments never render in the body.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"document_id": "<document_id>",
"section_type": "<section_type>"
},
"name": "itglue_create_document_section"
}
}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 |