create_embedded_editor_from_template
Generate documents or document groups from templates and immediately launch an embedded editor for editing and collaboration.
Instructions
Create document/group from template and create embedded editor immediately
Input Schema
Name | Required | Description | Default |
---|---|---|---|
entity_id | Yes | ID of the template or template group | |
entity_type | No | Type of entity: 'template' or 'template_group' (optional). If you're passing it, make sure you know what type you have. If it's not found, try using a different type. | |
link_expiration | No | Optional link expiration in minutes (15-43200) | |
name | No | Name for the new document or document group | |
redirect_target | No | Optional redirect target: 'self' (default), 'blank' | |
redirect_uri | No | Optional redirect URI after completion |
Input Schema (JSON Schema)
{
"properties": {
"entity_id": {
"description": "ID of the template or template group",
"title": "Entity Id",
"type": "string"
},
"entity_type": {
"anyOf": [
{
"enum": [
"template",
"template_group"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Type of entity: 'template' or 'template_group' (optional). If you're passing it, make sure you know what type you have. If it's not found, try using a different type.",
"title": "Entity Type"
},
"link_expiration": {
"anyOf": [
{
"maximum": 43200,
"minimum": 15,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional link expiration in minutes (15-43200)",
"title": "Link Expiration"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Name for the new document or document group",
"title": "Name"
},
"redirect_target": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional redirect target: 'self' (default), 'blank'",
"title": "Redirect Target"
},
"redirect_uri": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional redirect URI after completion",
"title": "Redirect Uri"
}
},
"required": [
"entity_id"
],
"type": "object"
}