MCP tool
set_sign_mode
Switch a pact between a drawn signature and click to sign before anyone signs.
Makes changesIdempotent
What the model sees
The tool's own description, which is how the assistant decides when to use it:
Changes how signers sign a pact: draw (each signer draws a signature) or click (click to sign: the signer confirms their typed name and clicks once). Only on a draft, or on a pact that is out for signature and nobody has signed yet. The signer's link stays the same.
Arguments
uidstringrequiredThe pact's uid (8 characters).sign_modestringrequireddraworclick.
Returns
The pact, with its new sign_mode. It comes back as a single text content item holding this JSON.
uidstringThe pact's id: 8 letters and digits.titlestringShown to signers and in emails (150 characters at most).statusstringSee Pact lifecycle.One ofdraftsentsealeddeclinedvoidedlapsedmessagestring | nullYour note in the invitation email.page_countintegerPages in the document.created_bystringWhere it was created: the dashboard, the API or the MCP server.One ofwebapimcpsign_modestringHow signers sign: they draw a signature, or click to sign (their typed name is set in a handwriting font). Fixed when the pact is created.One ofdrawclickcurrent_signerinteger | nullTheorderof the signer whose turn it is while the pact issent; otherwisenull.date_createdstring (date-time)When the draft was created.date_sentstring (date-time) | nullWhen it was sent.date_lapsesstring (date-time) | nullWhen it lapses if it is not sealed first.date_sealedstring (date-time) | nullWhen the last signer signed.date_updatedstring (date-time)When anything about it last changed.documents_chargedinteger | nullDocuments it used when it was sent.nullon a draft.documents_costinteger | nullWhat sending this draft will use: one document per 3 signers, rounded up. Only set on a draft.sent_sha256stringSHA-256 (lowercase hex) of the PDF as sent. The sigil records it too.signed_sha256string | nullSHA-256 of the signed PDF, once sealed.recipientsarray of objectsSigners in order, then CCs.ShowHide recipient attributes
orderintegerPosition, starting at 1. Signers come first, numbered in the order you gave them; CCs follow.rolestringSigners sign in order; a CC gets the finished copy.One ofsignerccnamestringThe recipient's name.emailstringThe recipient's address, lowercased.statusstringWhere this recipient is.One ofpendingviewedsigneddeclineddate_viewedstring (date-time) | nullWhen they first opened their signing link.date_signedstring (date-time) | nullWhen they signed.typed_namestring | nullThe full name they typed when signing.decline_reasonstring | nullTheir reason, if they declined.signing_urlstringThe private link for the signer whose turn it is. Anyone with it can sign as that person, so only give it to them.Only withinclude_links=1, and only on the waiting signer.
linksobjectWhere to get the files.ShowHide child attributes
documentstring (URL)The document as sent (download).signedstring (URL) | nullThe signed PDF, once sealed (download).sigilstring (URL) | nullThe sigil (certificate of completion), once sealed (download).dashboardstring (URL)The pact's page on the dashboard (needs a login).fieldsstring (URL) | nullThe field editor for this pact (needs a login and a plan with the editor). Only while it is a draft.
fieldsarray of objectsThe pact's own copy of the fields, with values as signers fill them in.Single-pact responses only.ShowHide field attributes
idinteger | nullThe field's id on a pact.nullon a template.recipientintegerThe signer the field belongs to: the number in its glyph (\s2\→2), or the signer it was given to in the website's field editor.typestringWhat the signer provides.One ofsignatureinitialsnamedateemailtextcheckboxpageintegerThe page it is on, starting at 1.xnumberDistance from the page's left edge, in PDF points (1/72 inch).ynumberDistance from the top of the page to the box's bottom edge, in points: the glyph's text baseline. Signatures stand on that line.widthnumberThe box's width in points: set by the field type for a glyph, as drawn for a field placed by hand on the website.heightnumberThe box's height in points: set by the field type for a glyph, as drawn for a field placed by hand on the website.labelstring | nullThe label from the glyph, such asCompanyin\t1:Company\, or the one typed in the field editor.requiredbooleanfalsewhen the glyph ends in!(\t1:Phone!\,\c1!\), or when the field was made optional in the field editor.valuestring | nullWhat was filled in, once that signer has signed: text as typed,"1"or"0"for a checkbox, the typed name forname, and the signing date (MM/dd/yyyy, UTC) fordate, and the address the pact was sent to foremail. Signatures and initials are images on the PDF, so they staynull.
eventsarray of objectsThe audit trail, oldest first.Single-pact responses only.ShowHide event attributes
eventstringWhat happened.One ofcreatedfieldssentemailedemail_failedviewedconsentedsigneddeclinedsealedcopy_emailedcopy_email_failedvoidedreissuedatstring (date-time)When it happened.bystring | nullWho did it: your email address, or the signer's.nullfor what the system does on its own, such as sealing.tostring | nullWho an email went to, foremailed,email_failed,reissued,copy_emailedandcopy_email_failed.notestring | nullDetail, such assigner 2, the consent version, or the reason given for voiding or declining.
warningstringSet when an invitation email could not be delivered. The action still happened: resend the link, or check the address.Only on create (withsend), send and resend responses, and only when an email failed.
Errors
A failure comes back as a tool result with isError: true whose text is An error occurred invoking 'set_sign_mode': followed by the message, so the assistant can read it and tell you. The messages include:
No pact '{uid}'.Choose draw or click.Someone has already signed this pact, so how it is signed can no longer change.