Create embedded editor link
create_embedded_editorCreate an embedded editor for documents, document groups, templates, or template groups. Automatically generates a document from templates before opening the editor.
Instructions
Create embedded editor for editing a document, document group, template, or template group. For templates and template groups, automatically creates a document/group first, then creates the embedded editor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | ID of the document, document group, template, or template group | |
| entity_type | No | Type of entity: 'document', 'document_group', 'template', or 'template_group' (optional). Auto-detected if not provided. | |
| name | No | Optional name for the new document or document group (used only when entity_type is template or template_group) | |
| redirect_uri | No | Optional redirect URI after completion | |
| redirect_target | No | Optional redirect target: 'self' (default), 'blank' | |
| link_expiration_minutes | No | Link lifetime in minutes (15–43200). Default: 15 min. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| editor_entity | Yes | Type of editor entity: 'document' or 'document_group' | |
| editor_url | Yes | URL for the embedded editor | |
| created_entity_id | No | ID of the entity created from template (None when entity was document/document_group) | |
| created_entity_type | No | Type of created entity: 'document' or 'document_group' (None when entity was document/document_group) | |
| created_entity_name | No | Name of the entity created from template (None when entity was document/document_group) |