Create document template fill link
gambot_create_document_linkCreate a shareable fill link for a document template so each customer can complete their own copy. Optionally pre-fill fields with lead, phone, or custom variables before distributing the public form URL.
Instructions
Generate a distributable fill link for a document template. A template has no single static link (each customer fills their own copy), so this creates a fill-only instance and returns its public /form/ URL to share with the customer. Optionally pre-fill variables via contactPhone/leadId/variables.
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": {
"templateId": "<templateId>"
},
"name": "gambot_create_document_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leadId | No | ||
| language | No | ||
| variables | No | ||
| templateId | Yes | ||
| contactPhone | No | ||
| documentName | No | ||
| expiresInDays | No |