Create Document
create_documentCreate a new text document or folder in the binder and return its new ID. Optionally set initial content and parent folder.
Instructions
Create a new text document or folder in the binder and return its new id. Optionally set the initial body content and the parent folder; if no parent is given the item is added at the top level. Each call creates a distinct item (not idempotent). Use write_document to change content afterward. Requires an open project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Title for the new document or folder. Truncated to 255 characters. | |
| content | No | ||
| parentId | No | ||
| documentType | No | Whether to create a "Text" document (default) or a "Folder". |