itglue_list_document_sections
Retrieve sections of any document by ID. Use pagination and compact formatting to manage large sets efficiently.
Instructions
List sections of a document.
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": {
"documentId": "<documentId>"
},
"name": "itglue_list_document_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | Document id (required). | |
| pageSize | No | page[size] — items per page (default IT Glue: 50, max 1000 for most endpoints). | |
| pageNumber | No | page[number] — 1-based page index. | |
| formatOptions | No | Reduce response size for token-sensitive callers. compact mode keeps id+type plus a small set of identifying attributes; fields[] picks specific attribute keys; omitEmpty strips null/empty values. |