Preview agreement send
preview_agreementDry-run one document (title, markdown terms with {{merge_fields}}, an optional static PDF) and a signature request for each of 1 to 50 parties. Renders each party's document and lists missing merge fields without sending or emailing anyone. parties is required. With event_id it is a gig agreement and needs financial editing access; without one it is an organization agreement, which a client cannot receive and a crew user must be a roster member for. If any party is refused or a merge field is missing, nothing would be sent. Use preview_agreement before send_agreement. Organizations without the forms channel rollout get not found. PDFs go inline as pdf_base64 + pdf_filename (not request_attachment_upload).
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": {
"title": "<title>",
"parties": "<parties>"
},
"name": "preview_agreement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | No | one-off agreement: required markdown terms; merge fields render per party | |
| title | Yes | agreement title shown to every signer | |
| due_at | No | one-off agreement: RFC3339; the due day in the gig or org time zone | |
| notify | No | one-off agreement: always pass it; true emails each party now, false sends no email | |
| parties | Yes | who signs, one request each | |
| send_id | No | one-off agreement: an idempotency key you generate; give it on every one-off send and reuse it to retry the same send | |
| event_id | No | the gig this agreement is for; omit for an organization agreement | |
| pdf_base64 | No | base64-encoded static PDF; pair with pdf_filename | |
| template_id | No | one-off agreement: the agreement template the terms came from | |
| pdf_filename | No | filename for pdf_base64 | |
| organization_id | No | one-off agreement: defaults to your active organization | |
| reminder_policy | No | one-off agreement: scheduled reminders, for a client signer on a gig only; needs due_at and notify |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | the API response { status (HTTP status), data: { send_id, dry_run, form_definition_id, form_revision_id, results [{ index, status, request }], previews [{ index, title, content, content_hash, presented_blocks, missing }] } } | |
| error | No | when ok is false |