Create Draft
create_draftCreate a draft document without sending invitations. Provide EXACTLY ONE source: fileId (from upload_file) or templateId (from list_templates). Sending both, or neither, is an error. Using templateId is how you preview a template before sending it: the template's document and signature fields are copied into the draft, you review or adjust them, then send_draft. The template itself is never affected. Signee details, contact methods, signature type, and signature coordinates are optional while drafting. Full validation occurs only when send_draft is called. Call get_file_fields after upload_file if the PDF has form fields that should be pre-filled and saved in the draft. The draft name will become visible to signees when the draft is sent, so it should be a clear, human-readable title, not the uploaded filename. If deriving it from a PDF filename, strip the file extension unless the user explicitly wants to keep it. PREVIEW USE CASE: drafts are the recommended way to preview an uploaded document before sending. When the user wants to verify that signature fields, ID scan placeholders, or pre-filled values look correct, build the full configuration here, call get_draft_file_url to retrieve a one-time PDF preview, let the user verify (and adjust via update_draft if needed), then call send_draft to send.
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": {
"name": "<name>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable draft title that will be visible to signees when sent. If deriving from an uploaded PDF filename, strip the file extension (e.g. 'contract.pdf' → 'contract') unless the user explicitly wants the extension. | |
| fields | No | Optional form fields to pre-fill and save in the draft. Use exact field names from get_file_fields. | |
| fileId | No | File ID from upload_file. Mutually exclusive with templateId; exactly one of the two is required. | |
| userId | No | User ID to assign as draft owner. Defaults to the authenticated user. | |
| language | No | Language for the eventual signing invitation | |
| templateId | No | Template ID from list_templates. Mutually exclusive with fileId; exactly one of the two is required. Copies the template's document and signature fields into the draft, including any contact details it stores. Requires the templates capability. | |
| aiAssistant | No | Optional AI assistant that helps signees while reviewing the document. Requires the aiAssistant capability. | |
| signeeDetails | No | Optional list of signees to save in the draft. Entries may be incomplete during the draft phase; fullName and a contact method are required before sending. | |
| sharingSetting | No | Whether the draft is private (only its owner sees it) or shared with other users on the account. If omitted, the account's default sharing setting is used, which may be shared, so pass "private" when the user wants the draft kept to themselves. | |
| personalMessage | No | Optional personal message for the eventual signing invitation. Maximum 500 characters. | |
| enableSigningOrder | No | Enable sequential signing order when the draft is sent (requires signingOrder capability) | |
| fieldsReadonlyMode | No | Form field read-only mode. Set to 'filled' when providing pre-filled values that should be locked for signers. |