Create from template
create_from_templateCreate a new document or document group from an existing template or template group.
Instructions
Create a new document or document group from an existing template or template group
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity_id": "<entity_id>"
},
"name": "create_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name for the new document group or document (required for template groups) | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the created entity | |
| entity_id | Yes | ID of the created document or document group | |
| entity_type | Yes | Type of created entity: 'document' or 'document_group' |