Send a template for signature
assinafy_create_document_from_templateGenerate a document from a saved template and invite each Signer role, with optional CopyReceiver roles, by signer ID or full name and email. Editor roles use only editor_fields. Find roles with assinafy_list_templates and validate editor_fields values with assinafy_validate_fields first. DigitalCertificate signers require a template without placed signer fields. This sends invitations and can consume credits. Verification settings select a method only. This tool does not accept biometric data; never request or submit it in chat or tool arguments. Any biometric verification occurs directly between the signer and Assinafy on its signing page, with the signer's consent.
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": {
"template_id": "<template_id>",
"signers": "<signers>"
},
"name": "assinafy_create_document_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | custom document name | |
| tags | No | tag names, merged with the template's defaults | |
| message | No | signing invitation message | |
| signers | Yes | one entry per Signer role and optional CopyReceiver roles; Editor roles use editor_fields | |
| account_id | No | account ID; uses request routing if omitted | |
| expires_at | No | assignment expiry as an ISO 8601 date or date-time | |
| template_id | Yes | template ID | |
| editor_fields | No | template editor field values | |
| estimate_only | No | preview cost and balances for the given roles without creating contacts, documents or invitations; roles alone are sufficient | |
| max_total_credits | No | maximum credits allowed for sending; use total_credits from the latest estimate |