Make a draft from a template
create_draft_from_templateMakes a DRAFT agreement from one of the team's active templates, filling each of the template's roles with a person (role is the role key from get_template; name and email; locale en-CA or fr-CA optional). Optional title (defaults to the template name). Nothing is sent and nobody is emailed: the draft waits under Drafts. Optional fields: values for the template's named fields (name from get_template; value is text, a date as YYYY-MM-DD, or true or false for a checkbox; locked true means the signer cannot change it, otherwise it is a default they may edit). Needs the template id and one person for every role; refuses an archived template, a missing role, an unknown role, a field name used twice, an unknown field name, and any value for a signature or initials field.
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>",
"recipients": "<recipients>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "create_draft_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| fields | No | ||
| recipients | Yes | ||
| templateId | Yes | ||
| idempotencyKey | Yes | A new random key for each change you mean to make. Sending the same key again with the same input returns the first answer and changes nothing; the same key with a different input is refused. |