Create embedded sending link
create_embedded_sendingEmbed sending steps like manage, edit, or invite for documents and templates, auto-creating documents from templates if needed, with inline UI rendering.
Instructions
Create embedded sending for managing, editing, or sending invites for a document, document group, template, or template group. For templates and template groups, automatically creates a document/group first, then creates the embedded sending. In MCP Apps-compatible clients the sender UI renders inline — no tab switch needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name for the new document or document group (used only when entity_type is template or template_group) | |
| type | No | Type of sending step: 'manage', 'edit', or 'send-invite' | manage |
| 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. | |
| 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–45). Default: 15 min. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sending_url | Yes | URL for the embedded sending | |
| sending_entity | Yes | Type of sending entity: 'document', 'document_group', or 'invite' | |
| created_entity_id | No | ID of the entity created from template (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) | |
| created_entity_type | No | Type of created entity: 'document' or 'document_group' (None when entity was document/document_group) |