create_document
Creates a new document in IT Glue for an organization, with optional folder assignment or automatic root placement.
Instructions
Create a new document in IT Glue for an organization. If neither document_folder_id nor skip_folder_prompt is supplied, the user is prompted to pick a folder. Folder enumeration for the name-based picker tries the API key first (works on tenants where IT Glue exposes the Document Folders resource), then a configured JWT; if neither can list folders, the prompt accepts a folder URL, a sibling-document URL, or a numeric folder ID. Pass skip_folder_prompt=true to always create at the organization root without prompting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Document name/title | |
| content | No | Document content (HTML supported) | |
| organization_id | Yes | Organization ID to create the document in | |
| document_folder_id | No | Optional folder ID to place the document in. Find folder IDs in the IT Glue web URL (e.g. `/documents/folder/12345/`) or by inspecting `document-folder-id` on an existing document in that folder. | |
| skip_folder_prompt | No | If true, skip the interactive folder picker and create the document at the organization root. |