Get IT Glue Document
itglue_get_documentRetrieves a document by ID with all sections and content, converting HTML to markdown or JSON. Inline images appear as relative paths; gallery images are listed by ID.
Instructions
Get a document by ID with all of its sections and their content. Section content is stored as HTML; markdown output converts it to plain text, with inline images shown as their relative /org/docs/doc/images/ID paths and gallery images listed by ID. If the response is truncated, fetch individual sections with itglue_get_document_section.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | The document ID | |
| response_format | No | Output format: human-readable markdown (default) or structured JSON | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes |