List IT Glue Document Sections
itglue_list_document_sectionsList document sections in position order with content previews and section IDs, enabling targeted updates, deletions, and reference to gallery images.
Instructions
List the sections of a document in position order, with content previews and section IDs (needed for update/delete operations). List items carry summary fields and a bounded content_preview; Gallery/Step items also carry document_gallery_id (the gallery_id for itglue_create_document_image) and their images. Use itglue_get_document_section for full content.
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>"
},
"name": "itglue_list_document_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_size | No | Results per page (default 50, max 1000) | |
| document_id | Yes | The parent document ID | |
| page_number | No | Page number (default 1) | |
| response_format | No | Output format: human-readable markdown (default) or structured JSON | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| has_more | Yes | ||
| page_number | Yes | ||
| total_count | Yes |