Duplicate template
duplicate-templateCreate a new template as a copy of an existing template.
Use this tool when:
The user wants to duplicate or copy a template, e.g. to build a variant of an existing contract for another jurisdiction or business line
A new template should start from an existing one rather than from scratch
The copy takes over the source template's content, parties, signatories, signature blocks, dynamic fields, conditions, metadata values, attachments, teams, tags, document type, locale and published state. Documents already created from the source template stay linked to the source.
Change what differs in the new template afterwards with the template tools, e.g. update-template-party, update-template-dynamic-field or replace-template-content. replace-template-content only writes a draft, so a copy of a published template has to be unpublished with set-template-published-state before its body can be rewritten.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The name of the new template. If omitted, the source template's name followed by " (copy)" is used | |
| template_uuid | Yes | UUID of the template to duplicate. Use list-templates to find it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to open the template in fynk. Only present when your user has template editing permission | |
| name | No | Name of the template | |
| tags | No | The tags on the template. Tags are the account's own classification labels (e.g. relationship type, commercial significance, region), so they show which categories this account uses and can be filtered on with filter_tags. | |
| uuid | No | Unique identifier for the template. Do not show to the user unless they ask for it | |
| teams | No | The teams the template is assigned to. | |
| locale | No | Locale code, e.g. en-GB, de-AT. Prefer describing the locale in natural language (e.g. 'British English') rather than showing the raw code. | |
| parties | No | The contracting entities the template defines. | |
| published | No | Indicates if the template is published (true) or a draft (false). Only published templates can be used by users without template management permission | |
| conditions | No | The template's conditions: rules over its dynamic fields deciding whether a passage of the template applies, and whether each currently holds. Use them to explain why a clause is or is not part of the template, and what would have to change to flip it. | |
| created_at | No | When the template was created. | |
| updated_at | No | When the template was last updated. | |
| archived_at | No | When the template was archived. Absent when the template is not archived. | |
| description | No | Description of the template. Absent when the template has none. | |
| signatories | No | The individual people who sign documents created from this template. Distinct from parties: a signatory often signs on behalf of a party (e.g. a business), so a person may be a signatory without appearing as a party. | |
| _entity_type | No | Only relevant for tooling. Do not show to the user | |
| document_type | No | If present, indicates what kind of document this template creates. Absent when the template has no type assigned | |
| dynamic_fields | No | The template's dynamic fields and their values. | |
| signature_type | No | The eIDAS assurance level that will be used when signing documents created from this template. Absent when none has been chosen. | |
| metadata_values | No | The template's metadata fields and their values. | |
| signature_blocks | No | The places in the template that are signed. A block is bound either to a single signatory or to a party, in which case every signatory of that party signs it. | |
| sequential_signing | No | Whether signatories must sign in a specific order. |