get_document
Retrieve a specific IT Glue document by ID, including its sections, organization, folder, and published dates. Optionally provide an organization ID to fetch it through that organization.
Instructions
Get a specific document by ID from IT Glue, including its sections, its organization (organizationId and organizationName), folder and published dates. organization_id is optional: without it the document is read by ID alone (GET /documents/:id); with it, through the organization (GET /organizations/:organization_id/relationships/documents/:id). Both return the same fields.
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": {
"id": "<id>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The document ID | |
| organization_id | No | Optional. Organization ID that owns the document. Leave it out when only the document ID is known. |