Update IT Glue Document Section
itglue_update_document_sectionUpdate an IT Glue document section's HTML content, heading level, duration, or position while preserving existing image tags; only supplied fields change.
Instructions
Update a section's content, heading level, duration, or position. Only provided fields change; the section type cannot be changed. content REPLACES the whole HTML — fetch the current content first and keep existing tags verbatim, or they are lost. To add a new picture, upload it with itglue_create_document_image (or its append_to_section_id shortcut) and embed the returned inline_resource_url; base64/data: URIs and S3 URLs are stripped by IT Glue.
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_id": "<section_id>"
},
"name": "itglue_update_document_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | New position within the document | |
| level | No | New heading level (Heading only) | |
| content | No | New HTML content (or heading text) | |
| duration | No | New duration in minutes (Step only) | |
| section_id | Yes | The section ID to update | |
| document_id | Yes | The parent document ID | |
| response_format | No | Output format: human-readable markdown (default) or structured JSON | markdown |