Create Document from Template
create_doc_from_templateCreate a new document by cloning a template and substituting {{variable}} placeholders. Unfilled variables trigger a warning. Optionally link the new doc to a parent in the sidebar.
Instructions
Clone a template doc and substitute {{variable}} placeholders. Returns a warning for any unfilled variables. Optionally link to a parent doc in the sidebar.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | ||
| templateDocId | Yes | The template doc to clone from. | |
| title | Yes | Title for the new doc. | |
| variables | No | Key-value map of {{variable}} substitutions. | |
| parentDocId | No | Parent doc to link the new doc under in the sidebar. |