Create (and optionally send) an envelope
create_envelopeCreate a Docuflex envelope. documents: inline base64 PDFs or staged uploadIds. recipients: name, email, routingOrder (1 = first), optional type (signer default, cc, certified_delivery, in_person_signer...). tabs: type (signature, initial, date_signed, text, checkbox...), page (1-based), x/y/width/height as fractions of the page from the top-left, documentIndex and recipientIndex into this request's arrays. status 'sent' sends now; omit for a draft.
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": {
"subject": "<subject>",
"documents": "<documents>",
"recipients": "<recipients>"
},
"name": "create_envelope"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabs | No | ||
| status | No | ||
| api_key | No | Docuflex API key (dfx_live_...). Optional if sent as the x-docuflex-api-key header. | |
| message | No | ||
| subject | Yes | ||
| metadata | No | ||
| documents | Yes | ||
| account_id | No | Docuflex account id. Optional if sent as x-docuflex-account or if the key belongs to exactly one account. | |
| recipients | Yes | ||
| routingType | No |