Update Draft Fields
update_draftReplace the fields on an unsent Draft. No credit debit, no invites.
fields is a whole-list replace: [{type, party, name?, required,
position: {page_number, x, y, width, height}}]. Text fields may also
carry default_value (prefilled for the signer, who can edit it) and
locked=true (signer cannot edit; needs default_value; not allowed on
semantic_type "full_name"). Requires
Authorization: Bearer zs_....
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": {
"document_id": "<document_id>",
"fields": "<fields>"
},
"name": "update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |