io.zsign/zsign is an MCP server published by io.zsign, hosted at zsign.io. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 29 tools, including create_account, get_pricing, get_account, check_balance, get_usage.
Send documents for e-signature from AI assistants, track signers, and download sealed, signed PDFs.
4 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Create a zSign account and API key in one call. Email is optional. The returned key starts with zs_live_; pass it as `Authorization: Bearer <key>` on this MCP connection (or REST) for all other tools. Unverified accounts stay at 0 credits (anonymous-abuse guard). Pass an email, then POST /api/v1/email/verify with the mailed token (or click the link) to receive the same starting credits as a dashboard signup. After that, send_envelope works; buy_credits when you need more. `source` is an optional attribution ref (a short slug). Omit it and the account is created the same way as before. An invalid source is ignored and does not block signup.
| Parameter | Type | Description |
|---|---|---|
| name | any | |
| any | ||
| source | any |
{
"name": "create_account",
"title": "Create Account",
"description": "Create a zSign account and API key in one call. Email is optional.\n The returned key starts with zs_live_; pass it as\n `Authorization: Bearer <key>` on this MCP connection (or REST) for all\n other tools. Unverified accounts stay at 0 credits (anonymous-abuse\n guard). Pass an email, then POST /api/v1/email/verify with the mailed\n token (or click the link) to receive the same starting credits as a\n dashboard signup. After that, send_envelope works; buy_credits when you\n need more. `source` is an optional attribution ref (a short slug). Omit\n it and the account is created the same way as before. An invalid source\n is ignored and does not block signup.",
"inputSchema": {
"type": "object",
"title": "create_accountArguments",
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name",
"default": null
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Email",
"default": null
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"title": "create_accountOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Create Account",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Credit packs and billing model (1 credit = 1 envelope send). No authentication required.
No parameters.
{
"name": "get_pricing",
"title": "Get Pricing",
"description": "Credit packs and billing model (1 credit = 1 envelope send). No\n authentication required.",
"inputSchema": {
"type": "object",
"title": "get_pricingArguments",
"properties": {}
},
"outputSchema": {
"type": "object",
"title": "get_pricingOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Get Pricing",
"readOnlyHint": true,
"idempotentHint": true
}
}Connected account: email, email_verified, name, organization id and name, and the credit balance from the same ledger as check_balance. auth.method is api_key or oauth, plus the scopes this call holds. An API key response includes key_prefix (the stored non-secret prefix) and never the key. OAuth responses set key_prefix to null and never return the token. Read-only, no credit charge. Accepts envelopes:read or credits:read. Requires `Authorization: Bearer zs_...`.
No parameters.
{
"name": "get_account",
"title": "Get Account",
"description": "Connected account: email, email_verified, name, organization id and\n name, and the credit balance from the same ledger as check_balance.\n auth.method is api_key or oauth, plus the scopes this call holds. An\n API key response includes key_prefix (the stored non-secret prefix)\n and never the key. OAuth responses set key_prefix to null and never\n return the token. Read-only, no credit charge. Accepts envelopes:read\n or credits:read. Requires `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "get_accountArguments",
"properties": {}
},
"outputSchema": {
"type": "object",
"title": "get_accountOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Get Account",
"readOnlyHint": true,
"idempotentHint": true
}
}Current credit balance and available packs. Requires `Authorization: Bearer zs_...`.
No parameters.
{
"name": "check_balance",
"title": "Check Credit Balance",
"description": "Current credit balance and available packs. Requires\n `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "check_balanceArguments",
"properties": {}
},
"outputSchema": {
"type": "object",
"title": "check_balanceOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Check Credit Balance",
"readOnlyHint": true,
"idempotentHint": true
}
}Daily credit-consumption report. start_date and end_date are inclusive UTC dates (YYYY-MM-DD). Returns 400 when (end_date - start_date).days >= 400. Rows are only days with an envelope debit, refund, or void_refund. Requires `Authorization: Bearer zs_...`.
| Parameter | Type | Description |
|---|---|---|
| end_date * | string | |
| start_date * | string |
{
"name": "get_usage",
"title": "Get Usage",
"description": "Daily credit-consumption report. start_date and end_date are\n inclusive UTC dates (YYYY-MM-DD). Returns 400 when\n (end_date - start_date).days >= 400. Rows are only days with an\n envelope debit, refund, or void_refund. Requires\n `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "get_usageArguments",
"required": [
"start_date",
"end_date"
],
"properties": {
"end_date": {
"type": "string",
"title": "End Date"
},
"start_date": {
"type": "string",
"title": "Start Date"
}
}
},
"outputSchema": {
"type": "object",
"title": "get_usageOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Get Usage",
"readOnlyHint": true,
"idempotentHint": true
}
}This account's referral code and shareable referral link. Requires `Authorization: Bearer zs_...`.
No parameters.
{
"name": "get_referral_link",
"title": "Get Referral Link",
"description": "This account's referral code and shareable referral link. Requires\n `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "get_referral_linkArguments",
"properties": {}
},
"outputSchema": {
"type": "object",
"title": "get_referral_linkOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Get Referral Link",
"readOnlyHint": true,
"idempotentHint": true
}
}Create a Stripe Checkout session for a credit pack ('starter', 'growth', or 'scale' — see get_pricing). Returns a checkout_url: open and pay it (card), and the webhook credits this account automatically within seconds. Requires `Authorization: Bearer zs_...`.
| Parameter | Type | Description |
|---|---|---|
| pack * | string |
{
"name": "buy_credits",
"title": "Buy Credits",
"description": "Create a Stripe Checkout session for a credit pack ('starter',\n 'growth', or 'scale' — see get_pricing). Returns a checkout_url: open\n and pay it (card), and the webhook credits this account automatically\n within seconds. Requires `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "buy_creditsArguments",
"required": [
"pack"
],
"properties": {
"pack": {
"type": "string",
"title": "Pack"
}
}
},
"outputSchema": {
"type": "object",
"title": "buy_creditsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Buy Credits",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Create a new envelope from PDF files. Use send_draft for an existing draft or send_from_template for a saved template. For one PDF, provide either document_base64 or a public HTTPS document_url (max 10MB). By default (auto_send=true), send immediately for legally binding signature. An immediate send normally costs 1 credit and requires recipients, e.g. [{"name": "...", "email": "...", "role": "signer"}]. Match recipient roles to the signing-field parties. Set send_invite=false to suppress invitations; signing links are still returned. Set send_completion_email=false separately to suppress signer completion emails. Poll get_envelope_status for progress. Set draft=true or auto_send=false to save without sending. recipients are optional in draft mode; no credits are debited and no invitations go out. draft=true takes precedence. Use the returned document_id with send_draft when ready, or send from the dashboard. Immediate send: the PDF is REJECTED unless it contains signing-field placeholder tags. For an untagged PDF (no zSign field tags), call prepare_document first to place the fields, call it again with that prepare_id and approve true when the response has no PDF, then send the pdf_base64 it returns as document_base64. Draft mode accepts an untagged PDF (human places fields) or optional `fields`. zSign field placeholder syntax: - Format: {type:party:name} -- add * after the type to mark the field required, e.g. {signature*:signer} - On upload, a tag or PDF form field with no explicit required marker is required when the account's fields_required_by_default is true (the default) and optional when it is false; a * is always required. A JSON field list stores the required boolean you send (default false) and does not apply this setting. - Types: signature, initials, text, date, radio - party must exactly match the recipient's "role" value passed when sending (MCP default role is "signer") - name is optional for signature/initials/date and REQUIRED for text fields; letters, digits, and underscores only - radio fields take FOUR parts: {radio:party:group:option}. Every tag sharing a party and group forms one exclusive set -- the signer picks exactly one, and the chosen option is the value reported back. Mark the set required with {radio*:...} on any of its tags. group is letters/digits/underscores; option may also contain spaces and hyphens - radio tags must be visible text in the PDF body -- they cannot be the name of a PDF form field - The signer sees each radio option's value as the caption beside its button, but the completed document only marks the chosen button -- print your own label next to each radio tag so the executed copy shows what each button means - Keep each tag on a single line in a standard font -- a tag split across lines is not detected - The tag's position in the document becomes the field's position; the signed value is drawn over it, and the tag itself is deleted when you upload -- signers never see it, and it is not in the completed document - Tags can be visible text in the PDF body, or the name of a PDF form field / annotation (except radio, which must be visible text) Examples: {signature*:signer}, {initials:signer}, {text*:signer:full_name}, {date:signer:signed_on} Radio (visible text only): {radio*:signer:plan:Option 1}, {radio*:signer:plan:Option 2} Sample PDF: https://storage.googleapis.com/zsign-public/simple_contract_1.pdf Docs: https://zsign.io/docs/api metadata is an optional flat object of string keys/values (max 50 keys) echoed back in every webhook for this envelope -- use it to carry your own record ids. Set revision_of to the source document_id to use its one-time free resend after changes are requested while the promotion is enabled. sequential (default true): recipients sign one at a time in list order. Set false so everyone can sign at once. Same flag as REST POST /api/v1/documents/send sequential. documents: list of `{filename, document_base64 | document_url, name?}` to send several
Place signature, initials, date, and printed-name fields on an untagged PDF. Provide document_base64 or an https document_url (max 10MB). Optional signers hints: [{"name", "email", "role", "order"}]. Until the user has approved one preview, every call returns status preview with confidence, reasons, fields, pages, and prepare_id, and no PDF. pages lists each page's visible area (x, y, width, height) in the same coordinates a field position uses. Show it to the user, then call again with that prepare_id and approve true to get pdf_base64. A prepare_id expires 15 minutes after the preview; approve within that window or call prepare_document again. After that first approval, a call returns status ready and pdf_base64 when confidence is at least 0.85, and a preview otherwise. Creates no envelope and charges no credit. Radio and checkbox are not placed. A filled form field that is not a zSign tag is a 422 with code filled_form_field. Encrypted PDFs are refused. Flatten or clear filled form fields first, since zSign may not catch every one. An encrypted PDF is a 422 with code pdf_encrypted. An expired prepare_id is a 404 with code prepare_expired. An unknown prepare_id is a 404 with code prepare_not_found. Requires `Authorization: Bearer zs_...`.
| Parameter | Type | Description |
|---|---|---|
| approve | boolean | |
| signers | any | |
| prepare_id | any | |
| document_url | any | |
| document_base64 | any |
Replace 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_...`.
| Parameter | Type | Description |
|---|---|---|
| fields * | array | |
| document_id * | string |
{
"name": "update_draft",
"title": "Update Draft Fields",
"description": "Replace the fields on an unsent Draft. No credit debit, no invites.\n `fields` is a whole-list replace: [{type, party, name?, required,\n position: {page_number, x, y, width, height}}]. Text fields may also\n carry default_value (prefilled for the signer, who can edit it) and\n locked=true (signer cannot edit; needs default_value; not allowed on\n semantic_type \"full_name\"). Requires\n `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "update_draftArguments",
"required": [
"document_id",
"fields"
],
"properties": {
"fields": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Fields"
},
"document_id": {
"type": "string",
"title": "Document Id"
}
}
},
"outputSchema": {
"type": "object",
"title": "update_draftOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Update Draft Fields",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Append a document to an existing Draft. Provide exactly one of document_base64, document_url, or template_id. A multi-document template inserts ALL of its documents (each counts toward the limit of 10) and `name` is then not allowed. `role_mapping` (template only) maps the template's roles onto this envelope's roles, e.g. {"customer": "client"}; unmapped roles are inserted as-is, never guessed. Fields already placed keep their pages; inserted pages come after them. Returns the draft with its `documents[]` (page ranges) so you can place fields with `document_id` + document-relative page. Requires `Authorization: Bearer zs_...`.
| Parameter | Type | Description |
|---|---|---|
| name | any | |
| filename | string | |
| document_id * | string | |
| template_id | any | |
| document_url | any | |
| role_mapping | any | |
| document_base64 | any |
{
"name": "add_document_to_draft",
"title": "Add Document to Draft",
"description": "Append a document to an existing Draft. Provide exactly one of document_base64, document_url, or template_id. A multi-document template inserts ALL of its documents (each counts toward the limit of 10) and `name` is then not allowed. `role_mapping` (template only) maps the template's roles onto this envelope's roles, e.g. {\"customer\": \"client\"}; unmapped roles are inserted as-is, never guessed. Fields already placed keep their pages; inserted pages come after them. Returns the draft with its `documents[]` (page ranges) so you can place fields with `document_id` + document-relative page. Requires `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "add_document_to_draftArguments",
"required": [
"document_id"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name",
"default": null
},
"filename": {
"type": "string",
"title": "Filename",
"default": "document.pdf"
},
"document_id": {
"type": "string",
"title": "Document Id"
},
"template_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Template Id",
"default": null
},
"document_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Document Url",
"default": null
},
"role_mapping": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Role Mapping",
"default": null
},
"document_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Document Base64",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"title": "add_document_to_draftOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Add Document to Draft",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Send an existing unsent draft by its document_id. Do not provide PDF bytes or a template ID: use send_envelope for new PDFs or send_from_template for a saved template. The draft must have signing fields, with recipient roles matching the field parties. Omit recipients to use the draft's saved list, or pass the full replacement list of {name, email, role} for this send. If no recipients are saved, provide at least one. To edit saved recipients without sending, use the dashboard editor; update_draft only changes fields. Success changes the draft to Sent and normally costs 1 credit. Set send_invite=false to suppress invitations, or send_completion_email=false to suppress signer completion emails. sequential defaults true (one at a time); set false for everyone at once. prefill = {"party:name": "text"} sets or overrides text field defaults for this send only; unknown or non-text keys are a 422 invalid_prefill_key. An encrypted PDF stored on the draft is a 422 with code pdf_encrypted and is not charged. Set metadata.revision_of to a changes-requested source document_id for its one-time free resend while the promotion is enabled. Requires envelopes:send access.
| Parameter | Type | Description |
|---|---|---|
| prefill | any | |
| metadata | any | |
| recipients | any | |
| sequential | boolean | |
| document_id * | string | |
| send_invite | boolean | |
| send_completion_email | boolean |
Copy an envelope the signer requested changes on into a new unsent Draft: same documents, fields, recipients and public metadata, plus metadata.revision_of set to the source document_id. Wraps POST /api/v1/documents/{document_id}/revise. Costs no credit. Read the signer's comments with get_envelope_status, edit the Draft with update_draft / add_document_to_draft, then call send_draft(document_id=<the new draft's document_id>): revision_of is carried, so the first qualifying revision is free while the promotion is enabled. Errors: 404 if the envelope is missing or in another org; 409 not_changes_requested unless its newest session was declined with a change request. Not idempotent: each call creates another Draft. Requires `Authorization: Bearer zs_...`.
| Parameter | Type | Description |
|---|---|---|
| document_id * | string |
{
"name": "revise_envelope",
"title": "Revise Envelope",
"description": "Copy an envelope the signer requested changes on into a new unsent\n Draft: same documents, fields, recipients and public metadata, plus\n metadata.revision_of set to the source document_id. Wraps\n POST /api/v1/documents/{document_id}/revise. Costs no credit. Read the\n signer's comments with get_envelope_status, edit the Draft with\n update_draft / add_document_to_draft, then call\n send_draft(document_id=<the new draft's document_id>): revision_of is\n carried, so the first qualifying revision is free while the promotion\n is enabled. Errors: 404 if the envelope is missing or in another org;\n 409 not_changes_requested unless its newest session was declined with\n a change request. Not idempotent: each call creates another Draft.\n Requires `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "revise_envelopeArguments",
"required": [
"document_id"
],
"properties": {
"document_id": {
"type": "string",
"title": "Document Id"
}
}
},
"outputSchema": {
"type": "object",
"title": "revise_envelopeOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Revise Envelope",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Delete an unsent Draft entirely: the envelope, its documents, and the stored PDF bytes. Wraps DELETE /api/v1/documents/drafts/{document_id}. Use when a draft is abandoned -- there is no archive. Sent and completed envelopes cannot be deleted (use void_envelope on a live send instead); on one of those this returns the same 404 as a draft that never existed. Requires `Authorization: Bearer zs_...`.
| Parameter | Type | Description |
|---|---|---|
| document_id * | string |
{
"name": "delete_draft",
"title": "Delete Draft",
"description": "Delete an unsent Draft entirely: the envelope, its documents, and the\n stored PDF bytes. Wraps DELETE /api/v1/documents/drafts/{document_id}.\n Use when a draft is abandoned -- there is no archive. Sent and completed\n envelopes cannot be deleted (use void_envelope on a live send instead);\n on one of those this returns the same 404 as a draft that never existed.\n Requires `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "delete_draftArguments",
"required": [
"document_id"
],
"properties": {
"document_id": {
"type": "string",
"title": "Document Id"
}
}
},
"outputSchema": {
"type": "object",
"title": "delete_draftOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Delete Draft",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Save an existing Draft as a reusable template. Mirrors dashboard POST /api/documents/drafts/{id}/save-as-template (API-key twin POST /api/v1/documents/drafts/{id}/save-as-template). There is no blank-template flow — start from a Draft. Returns template_id and role names. The Draft itself is unchanged. Requires `Authorization: Bearer zs_...`.
| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| document_id * | string |
{
"name": "create_template",
"title": "Create Template",
"description": "Save an existing Draft as a reusable template. Mirrors dashboard\n POST /api/documents/drafts/{id}/save-as-template (API-key twin\n POST /api/v1/documents/drafts/{id}/save-as-template). There is no\n blank-template flow — start from a Draft. Returns template_id and\n role names. The Draft itself is unchanged. Requires\n `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "create_templateArguments",
"required": [
"document_id",
"name"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"document_id": {
"type": "string",
"title": "Document Id"
}
}
},
"outputSchema": {
"type": "object",
"title": "create_templateOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Create Template",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Inspect saved templates in the connected organization without creating a draft or sending anything. Returns summaries with template_id, name, roles, filename, document_count, field_count, and timestamps, not PDF contents or individual field definitions. Use template_id and roles with send_from_template to send a new envelope, or add_document_to_draft to append the template to an existing draft without sending. Requires envelopes:read access.
No parameters.
{
"name": "list_templates",
"title": "List Templates",
"description": "Inspect saved templates in the connected organization without creating\n a draft or sending anything. Returns summaries with template_id, name,\n roles, filename, document_count, field_count, and timestamps, not PDF\n contents or individual field definitions. Use template_id and roles with\n send_from_template to send a new envelope, or add_document_to_draft to\n append the template to an existing draft without sending.\n Requires envelopes:read access.",
"inputSchema": {
"type": "object",
"title": "list_templatesArguments",
"properties": {}
},
"outputSchema": {
"type": "object",
"title": "list_templatesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "List Templates",
"readOnlyHint": true,
"idempotentHint": true
}
}Create and immediately send a new envelope from a saved template. Get template_id and roles from list_templates. Supply at least one recipient, e.g. [{"name": "...", "email": "...", "role": "signer"}], covering the template's field roles. Use role_mapping to rename template roles to recipient roles, e.g. {"customer": "client"}; unmapped roles stay unchanged. Use send_envelope for new PDF files, send_draft for an existing draft, or add_document_to_draft(template_id=...) to append to an existing draft without sending. The template is unchanged. A successful send normally costs 1 credit and sends invitations unless send_invite=false. Set send_completion_email=false separately to suppress signer completion emails. sequential defaults true (one at a time). prefill = {"party:name": "text"} overrides text defaults for this send only. metadata.revision_of may name a changes-requested source document_id for its one-time free resend while the promotion is enabled. If sending fails after the draft is created, the error includes draft_id. The draft does not store recipients or send options. To retry without creating a second draft, call send_draft with document_id=draft_id and supply recipients and any send options again. Requires envelopes:send access.
| Parameter | Type | Description |
|---|---|---|
| name | any | |
| prefill | any | |
| metadata | any | |
| recipients * | array | |
| sequential | boolean | |
| send_invite | boolean | |
Search the caller's envelopes. Optional filters: status (pending, in_progress, completed, voided, declined, expired, cancelled, draft, ready_to_send), q (name / filename / recipient / id substring), date_from and date_to (ISO-8601, inclusive on created_at). limit max 50 (default 20). Includes unsent drafts unless status selects a session status. Each item includes thin recipients[] (recipient_id, email, name, status, can_remind) for remind_envelope, plus document_id for get_envelope_status. Requires `Authorization: Bearer zs_...`.
| Parameter | Type | Description |
|---|---|---|
| q | any | |
| limit | integer | |
| offset | integer | |
| status | any | |
| date_to | any | |
| date_from | any |
{
"name": "list_envelopes",
"title": "List Envelopes",
"description": "Search the caller's envelopes. Optional filters: status (pending,\n in_progress, completed, voided, declined, expired, cancelled, draft,\n ready_to_send), q (name / filename / recipient / id substring),\n date_from and date_to (ISO-8601, inclusive on created_at). limit max\n 50 (default 20). Includes unsent drafts unless status selects a\n session status. Each item includes thin recipients[] (recipient_id,\n email, name, status, can_remind) for remind_envelope, plus\n document_id for get_envelope_status. Requires\n `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "list_envelopesArguments",
"properties": {
"q": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Q",
"default": null
},
"limit": {
"type": "integer",
"title": "Limit",
"default": 20
},
"offset": {
"type": "integer",
"title": "Offset",
"default": 0
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Status",
"default": null
},
"date_to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date To",
"default": null
},
"date_from": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date From",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"title": "list_envelopesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "List Envelopes",
"readOnlyHint": true,
"idempotentHint": true
}
}Envelope progress: session status, per-recipient signing status, and — once completed — the completed_document_id to pass to download_signed_document. A changes-requested recipient includes change_request.reason, comments (page/field/normalized anchors/text), and timestamp; revision resends include session.revision_of. Requires `Authorization: Bearer zs_...`.
| Parameter | Type | Description |
|---|---|---|
| document_id * | string |
{
"name": "get_envelope_status",
"title": "Get Envelope Status",
"description": "Envelope progress: session status, per-recipient signing status, and —\n once completed — the completed_document_id to pass to\n download_signed_document. A changes-requested recipient includes\n change_request.reason, comments (page/field/normalized anchors/text), and\n timestamp; revision resends include session.revision_of. Requires\n `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "get_envelope_statusArguments",
"required": [
"document_id"
],
"properties": {
"document_id": {
"type": "string",
"title": "Document Id"
}
}
},
"outputSchema": {
"type": "object",
"title": "get_envelope_statusOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Get Envelope Status",
"readOnlyHint": true,
"idempotentHint": true
}
}Fetch recipient signing URLs for an already-sent envelope without sending again. Output is the same `signing_urls` shape send_envelope / send_draft / send_from_template return: [{recipient_email, recipient_name, signing_url, token}]. Each signing_url / token authenticates as that recipient on /sign/{token}, so this tool requires envelopes:send (same class as send / remind), not envelopes:read. These URLs are the ordinary agent-link. They are valid iframe `signingUrl` values for `@zsign/embed` / `@zsign/react`. This tool does not mint a second URL scheme and does not replace agent-link as the default. Optional recipient_email keeps one recipient. Requires `Authorization: Bearer zs_...`.
| Parameter | Type | Description |
|---|---|---|
| document_id * | string | |
| recipient_email | any |
{
"name": "get_signing_links",
"title": "Get Signing Links",
"description": "Fetch recipient signing URLs for an already-sent envelope without\n sending again. Output is the same `signing_urls` shape\n send_envelope / send_draft / send_from_template return:\n [{recipient_email, recipient_name, signing_url, token}].\n\n Each signing_url / token authenticates as that recipient on\n /sign/{token}, so this tool requires envelopes:send (same class as\n send / remind), not envelopes:read.\n\n These URLs are the ordinary agent-link. They are valid iframe\n `signingUrl` values for `@zsign/embed` / `@zsign/react`. This tool\n does not mint a second URL scheme and does not replace agent-link as\n the default. Optional recipient_email keeps one recipient. Requires\n `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "get_signing_linksArguments",
"required": [
"document_id"
],
"properties": {
"document_id": {
"type": "string",
"title": "Document Id"
},
"recipient_email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Recipient Email",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"title": "get_signing_linksOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Get Signing Links",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Send one signing reminder to a still-unsigned recipient. Wraps POST /api/v1/documents/{document_id}/recipients/{recipient_id}/remind — same policy as the dashboard Remind button and the cron sweep (cap, spacing, sequential can_sign_now). REMINDERS_ENABLED does not apply. Envelopes sent with send_invite=false are refused unless override_send_invite is true. Not idempotent: each success increments reminder_count, and a second call inside REMINDER_DELAY_HOURS is 429. Requires `Authorization: Bearer zs_...`.
| Parameter | Type | Description |
|---|---|---|
| document_id * | string | |
| recipient_id * | string | |
| override_send_invite | boolean |
{
"name": "remind_envelope",
"title": "Remind Envelope Recipient",
"description": "Send one signing reminder to a still-unsigned recipient.\n\n Wraps POST /api/v1/documents/{document_id}/recipients/{recipient_id}/remind\n — same policy as the dashboard Remind button and the cron sweep (cap,\n spacing, sequential can_sign_now). REMINDERS_ENABLED does not apply.\n Envelopes sent with send_invite=false are refused unless\n override_send_invite is true. Not idempotent: each success increments\n reminder_count, and a second call inside REMINDER_DELAY_HOURS is 429.\n Requires `Authorization: Bearer zs_...`.\n ",
"inputSchema": {
"type": "object",
"title": "remind_envelopeArguments",
"required": [
"document_id",
"recipient_id"
],
"properties": {
"document_id": {
"type": "string",
"title": "Document Id"
},
"recipient_id": {
"type": "string",
"title": "Recipient Id"
},
"override_send_invite": {
"type": "boolean",
"title": "Override Send Invite",
"default": false
}
}
},
"outputSchema": {
"type": "object",
"title": "remind_envelopeOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Remind Envelope Recipient",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Correct the email of an unsigned recipient on an in-flight envelope. Wraps POST /api/v1/documents/{document_id}/recipients/{recipient_id}/email. Same recipient_id; the signing credential rotates to the new address and the previous address is notified — does not void, so signatures already collected from other recipients stay valid. Refuses a recipient who has already signed (409 recipient_already_signed) and an envelope that is voided, completed, declined, or expired. Sends a fresh invite when the envelope was sent with invites enabled. Later remind_envelope calls go to the new address. Requires `Authorization: Bearer zs_...`.
| Parameter | Type | Description |
|---|---|---|
| email * | string | |
| document_id * | string | |
| recipient_id * | string |
{
"name": "correct_recipient_email",
"title": "Correct Recipient Email",
"description": "Correct the email of an unsigned recipient on an in-flight envelope.\n\n Wraps POST /api/v1/documents/{document_id}/recipients/{recipient_id}/email.\n Same recipient_id; the signing credential rotates to the new address and\n the previous address is notified — does not void, so signatures already\n collected from other recipients stay valid. Refuses a recipient who has\n already signed (409 recipient_already_signed) and an envelope that is\n voided, completed, declined, or expired. Sends a fresh invite when the\n envelope was sent with invites enabled. Later remind_envelope calls go\n to the new address. Requires `Authorization: Bearer zs_...`.\n ",
"inputSchema": {
"type": "object",
"title": "correct_recipient_emailArguments",
"required": [
"document_id",
"recipient_id",
"email"
],
"properties": {
"email": {
"type": "string",
"title": "Email"
},
"document_id": {
"type": "string",
"title": "Document Id"
},
"recipient_id": {
"type": "string",
"title": "Recipient Id"
}
}
},
"outputSchema": {
"type": "object",
"title": "correct_recipient_emailOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Correct Recipient Email",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Void a sent envelope so it can no longer be signed. Signing links stop working immediately and recipients who have not yet signed are emailed. The send credit is returned only if nobody has opened the envelope.
| Parameter | Type | Description |
|---|---|---|
| reason | string | |
| document_id * | string |
{
"name": "void_envelope",
"title": "Void Envelope",
"description": "Void a sent envelope so it can no longer be signed.\n\n Signing links stop working immediately and recipients who have not yet\n signed are emailed. The send credit is returned only if nobody has\n opened the envelope.\n ",
"inputSchema": {
"type": "object",
"title": "void_envelopeArguments",
"required": [
"document_id"
],
"properties": {
"reason": {
"type": "string",
"title": "Reason",
"default": ""
},
"document_id": {
"type": "string",
"title": "Document Id"
}
}
},
"outputSchema": {
"type": "object",
"title": "void_envelopeOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Void Envelope",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Download the sealed, signed PDF. Takes the completed_document_id from get_envelope_status; the original document_id also works and resolves to that document's most recent completed session. Returns the bytes as `content_base64` with `content_type` from the HTTP response. PDF responses also include `pdf_base64` (same bytes). MCP clients truncate large tool responses, so for anything beyond a page or two prefer `download_url`: a short-lived bearer URL (valid until `download_url_expires_at`) that serves the same bytes with no Authorization header — pass it to the user or fetch it directly. Requires `Authorization: Bearer zs_...`. document_id: one of `documents[].id` from get_envelope_status to download just that document (its pages plus the certificate pages — an extract; the certificate hash identifies the full envelope). `format='pdf'` (the default) returns the combined signed PDF; `format='zip'`: every document as its own PDF in one archive (`application/zip`).
| Parameter | Type | Description |
|---|---|---|
| format | any | |
| document_id | any | |
| completed_document_id * | string |
{
"name": "download_signed_document",
"title": "Download Signed Document",
"description": "Download the sealed, signed PDF. Takes the completed_document_id from\n get_envelope_status; the original document_id also works and resolves to\n that document's most recent completed session. Returns the bytes as\n `content_base64` with `content_type` from the HTTP response. PDF\n responses also include `pdf_base64` (same bytes). MCP clients truncate\n large tool responses, so for anything beyond a page or two prefer\n `download_url`: a short-lived bearer URL (valid until\n `download_url_expires_at`) that serves the same bytes with no\n Authorization header — pass it to the user or fetch it directly.\n Requires `Authorization: Bearer zs_...`.\n\n document_id: one of `documents[].id` from get_envelope_status to download\n just that document (its pages plus the certificate pages — an extract;\n the certificate hash identifies the full envelope). `format='pdf'` (the\n default) returns the combined signed PDF; `format='zip'`: every document\n as its own PDF in one archive (`application/zip`).",
"inputSchema": {
"type": "object",
"title": "download_signed_documentArguments",
"required": [
"completed_document_id"
],
"properties": {
"format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Format",
"default": null
},
"document_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Document Id",
"default": null
},
"completed_document_id": {
"type": "string",
"title": "Completed Document Id"
}
}
},
"outputSchema": {
"type": "object",
"title": "download_signed_documentOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Download Signed Document",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Download the standalone Certificate of Signature PDF for a completed envelope. Takes the original document_id from send_envelope / get_envelope_status / list_envelopes (NOT completed_document_id). Incomplete envelopes error. Returns the PDF as base64. Requires `Authorization: Bearer zs_...`.
| Parameter | Type | Description |
|---|---|---|
| document_id * | string |
{
"name": "download_certificate",
"title": "Download Certificate",
"description": "Download the standalone Certificate of Signature PDF for a completed\n envelope. Takes the original document_id from send_envelope /\n get_envelope_status / list_envelopes (NOT completed_document_id).\n Incomplete envelopes error. Returns the PDF as base64. Requires\n `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "download_certificateArguments",
"required": [
"document_id"
],
"properties": {
"document_id": {
"type": "string",
"title": "Document Id"
}
}
},
"outputSchema": {
"type": "object",
"title": "download_certificateOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Download Certificate",
"readOnlyHint": true,
"idempotentHint": true
}
}JSON audit trail for an envelope. Completed envelopes include the persisted completion certificate; voided / declined / expired envelopes return an on-the-fly trail with an empty certificate. Still-active envelopes are not found. Takes the original document_id. Requires `Authorization: Bearer zs_...`.
| Parameter | Type | Description |
|---|---|---|
| document_id * | string |
{
"name": "get_audit_trail",
"title": "Get Audit Trail",
"description": "JSON audit trail for an envelope. Completed envelopes include the\n persisted completion certificate; voided / declined / expired\n envelopes return an on-the-fly trail with an empty certificate.\n Still-active envelopes are not found. Takes the original document_id.\n Requires `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "get_audit_trailArguments",
"required": [
"document_id"
],
"properties": {
"document_id": {
"type": "string",
"title": "Document Id"
}
}
},
"outputSchema": {
"type": "object",
"title": "get_audit_trailOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Get Audit Trail",
"readOnlyHint": true,
"idempotentHint": true
}
}Read open and resolved comment threads on the latest envelope session. Pass the envelope's document_id, not a session ID. Returns thread IDs (threads[].id), text, replies, resolution state, and enabled/read_only flags. Use a thread ID with reply_comment to add a message or with resolve_comment to change its resolution state. Requires envelopes:read.
| Parameter | Type | Description |
|---|---|---|
| document_id * | string |
{
"name": "list_comments",
"title": "List Comments",
"description": "Read open and resolved comment threads on the latest envelope session.\n Pass the envelope's document_id, not a session ID. Returns thread IDs\n (threads[].id), text, replies, resolution state, and enabled/read_only\n flags. Use a thread ID with reply_comment to add a message or with\n resolve_comment to change its resolution state. Requires envelopes:read.",
"inputSchema": {
"type": "object",
"title": "list_commentsArguments",
"required": [
"document_id"
],
"properties": {
"document_id": {
"type": "string",
"title": "Document Id"
}
}
},
"outputSchema": {
"type": "object",
"title": "list_commentsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "List Comments",
"readOnlyHint": true,
"idempotentHint": true
}
}Post an agent-authored reply to an existing comment thread. Use comment_id from list_comments (threads[].id), not the document ID, and supply nonblank text up to 1,000 characters after trimming. The thread must be writable and comments must be enabled. Replying reopens a resolved thread, may notify the signer, and returns the new reply ID. Use resolve_comment to change resolution without posting a message. Requires envelopes:send access.
| Parameter | Type | Description |
|---|---|---|
| text * | string | |
| comment_id * | string |
{
"name": "reply_comment",
"title": "Reply to Comment",
"description": "Post an agent-authored reply to an existing comment thread. Use\n comment_id from list_comments (threads[].id), not the document ID, and\n supply nonblank text up to 1,000 characters after trimming. The thread\n must be writable and comments must be enabled. Replying reopens a\n resolved thread, may notify the signer, and returns the new reply ID.\n Use resolve_comment to change resolution without posting a message.\n Requires envelopes:send access.",
"inputSchema": {
"type": "object",
"title": "reply_commentArguments",
"required": [
"comment_id",
"text"
],
"properties": {
"text": {
"type": "string",
"title": "Text"
},
"comment_id": {
"type": "string",
"title": "Comment Id"
}
}
},
"outputSchema": {
"type": "object",
"title": "reply_commentOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Reply to Comment",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Change a comment thread's resolution without posting a reply. Pass comment_id from list_comments (threads[].id); omit resolved or set it true to resolve, and set resolved=false to reopen. Comments must be enabled and the thread writable. Returns the thread ID and resulting resolved flag. Use reply_comment to post a message instead. Requires envelopes:send access.
| Parameter | Type | Description |
|---|---|---|
| resolved | boolean | |
| comment_id * | string |
{
"name": "resolve_comment",
"title": "Resolve or Reopen Comment",
"description": "Change a comment thread's resolution without posting a reply. Pass\n comment_id from list_comments (threads[].id); omit resolved or set it\n true to resolve, and set resolved=false to reopen. Comments must be\n enabled and the thread writable. Returns the thread ID and resulting\n resolved flag. Use reply_comment to post a message instead.\n Requires envelopes:send access.",
"inputSchema": {
"type": "object",
"title": "resolve_commentArguments",
"required": [
"comment_id"
],
"properties": {
"resolved": {
"type": "boolean",
"title": "Resolved",
"default": true
},
"comment_id": {
"type": "string",
"title": "Comment Id"
}
}
},
"outputSchema": {
"type": "object",
"title": "resolve_commentOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Resolve or Reopen Comment",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}zSign is a legally binding e-signature API (ESIGN/UETA) built for agents: create an account, buy prepaid credits, send envelopes. 1 credit = 1 envelope send. https://zsign.io/mcp needs auth on every request (OAuth 2.1 or `Authorization: Bearer zs_live_...`). Without a key, use https://zsign.io/mcp/open, where create_account and get_pricing work without auth; all other tools there need `Authorization: Bearer zs_live_...`. Docs: https://zsign.io/llms.txt
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
| Parameter | Type | Description |
|---|---|---|
| name | any | |
| draft | boolean | |
| fields | any | |
| prefill | any | |
| filename | string | |
| metadata | any | |
| auto_send | boolean | |
| documents | any | |
| recipients | any | |
| sequential | boolean | |
| send_invite | boolean | |
| document_url | any | |
| document_base64 | any | |
| send_completion_email | boolean |
{
"name": "send_envelope",
"title": "Send Envelope for Signature",
"description": "Create a new envelope from PDF files. Use send_draft for an existing draft or send_from_template for a saved template. For one PDF, provide either document_base64 or a public HTTPS document_url (max 10MB).\n\nBy default (auto_send=true), send immediately for legally binding signature. An immediate send normally costs 1 credit and requires recipients, e.g. [{\"name\": \"...\", \"email\": \"...\", \"role\": \"signer\"}]. Match recipient roles to the signing-field parties. Set send_invite=false to suppress invitations; signing links are still returned. Set send_completion_email=false separately to suppress signer completion emails. Poll get_envelope_status for progress.\n\nSet draft=true or auto_send=false to save without sending. recipients are optional in draft mode; no credits are debited and no invitations go out. draft=true takes precedence. Use the returned document_id with send_draft when ready, or send from the dashboard.\n\nImmediate send: the PDF is REJECTED unless it contains signing-field placeholder tags. For an untagged PDF (no zSign field tags), call prepare_document first to place the fields, call it again with that prepare_id and approve true when the response has no PDF, then send the pdf_base64 it returns as document_base64. Draft mode accepts an untagged PDF (human places fields) or optional `fields`.\nzSign field placeholder syntax:\n- Format: {type:party:name} -- add * after the type to mark the field required, e.g. {signature*:signer}\n- On upload, a tag or PDF form field with no explicit required marker is required when the account's fields_required_by_default is true (the default) and optional when it is false; a * is always required. A JSON field list stores the required boolean you send (default false) and does not apply this setting.\n- Types: signature, initials, text, date, radio\n- party must exactly match the recipient's \"role\" value passed when sending (MCP default role is \"signer\")\n- name is optional for signature/initials/date and REQUIRED for text fields; letters, digits, and underscores only\n- radio fields take FOUR parts: {radio:party:group:option}. Every tag sharing a party and group forms one exclusive set -- the signer picks exactly one, and the chosen option is the value reported back. Mark the set required with {radio*:...} on any of its tags. group is letters/digits/underscores; option may also contain spaces and hyphens\n- radio tags must be visible text in the PDF body -- they cannot be the name of a PDF form field\n- The signer sees each radio option's value as the caption beside its button, but the completed document only marks the chosen button -- print your own label next to each radio tag so the executed copy shows what each button means\n- Keep each tag on a single line in a standard font -- a tag split across lines is not detected\n- The tag's position in the document becomes the field's position; the signed value is drawn over it, and the tag itself is deleted when you upload -- signers never see it, and it is not in the completed document\n- Tags can be visible text in the PDF body, or the name of a PDF form field / annotation (except radio, which must be visible text)\nExamples: {signature*:signer}, {initials:signer}, {text*:signer:full_name}, {date:signer:signed_on}\nRadio (visible text only): {radio*:signer:plan:Option 1}, {radio*:signer:plan:Option 2}\nSample PDF: https://storage.googleapis.com/zsign-public/simple_contract_1.pdf\nDocs: https://zsign.io/docs/api\n\nmetadata is an optional flat object of string keys/values (max 50 keys) echoed back in every webhook for this envelope -- use it to carry your own record ids. Set revision_of to the source document_id to use its one-time free resend after changes are requested while the promotion is enabled.\n\nsequential (default true): recipients sign one at a time in list order. Set false so everyone can sign at once. Same flag as REST POST /api/v1/documents/send sequential.\n\ndocuments: list of `{filename, document_base64 | document_url, name?}` to send several",
"inputSchema": {
"type": "object",
"title": "send_envelopeArguments",
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name",
"default": null
},
"draft": {
"type": "boolean",
"title": "Draft",
"default": false
},
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Fields",
"default": null
},
"prefill": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Prefill",
"default": null
},
"filename": {
"type": "string",
"title": "Filename",
"default": "document.pdf"
},
"metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Metadata",
"default": null
},
"auto_send": {
"type": "boolean",
"title": "Auto Send",
"default": true
},
"documents": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Documents",
"default": null
},
"recipients": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Recipients",
"default": null
},
"sequential": {
"type": "boolean",
"title": "Sequential",
"default": true
},
"send_invite": {
"type": "boolean",
"title": "Send Invite",
"default": true
},
"document_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Document Url",
"default": null
},
"document_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Document Base64",
"default": null
},
"send_completion_email": {
"type": "boolean",
"title": "Send Completion Email",
"default": true
}
}
},
"outputSchema": {
"type": "object",
"title": "send_envelopeOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Send Envelope for Signature",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "prepare_document",
"title": "Prepare Document",
"description": "Place signature, initials, date, and printed-name fields on an untagged PDF. Provide document_base64 or an https document_url (max 10MB). Optional signers hints: [{\"name\", \"email\", \"role\", \"order\"}]. Until the user has approved one preview, every call returns status preview with confidence, reasons, fields, pages, and prepare_id, and no PDF. pages lists each page's visible area (x, y, width, height) in the same coordinates a field position uses. Show it to the user, then call again with that prepare_id and approve true to get pdf_base64. A prepare_id expires 15 minutes after the preview; approve within that window or call prepare_document again. After that first approval, a call returns status ready and pdf_base64 when confidence is at least 0.85, and a preview otherwise. Creates no envelope and charges no credit. Radio and checkbox are not placed. A filled form field that is not a zSign tag is a 422 with code filled_form_field. Encrypted PDFs are refused. Flatten or clear filled form fields first, since zSign may not catch every one. An encrypted PDF is a 422 with code pdf_encrypted. An expired prepare_id is a 404 with code prepare_expired. An unknown prepare_id is a 404 with code prepare_not_found. Requires `Authorization: Bearer zs_...`.",
"inputSchema": {
"type": "object",
"title": "prepare_documentArguments",
"properties": {
"approve": {
"type": "boolean",
"title": "Approve",
"default": false
},
"signers": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Signers",
"default": null
},
"prepare_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Prepare Id",
"default": null
},
"document_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Document Url",
"default": null
},
"document_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Document Base64",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"title": "prepare_documentOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Prepare Document",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "send_draft",
"title": "Send Draft",
"description": "Send an existing unsent draft by its document_id. Do not provide PDF\n bytes or a template ID: use send_envelope for new PDFs or\n send_from_template for a saved template. The draft must have signing\n fields, with recipient roles matching the field parties. Omit recipients\n to use the draft's saved list, or pass the full replacement list of\n {name, email, role} for this send. If no recipients are saved, provide\n at least one. To edit saved recipients without sending, use the dashboard\n editor; update_draft only changes fields.\n\n Success changes the draft to Sent and normally costs 1 credit. Set\n send_invite=false to suppress invitations, or send_completion_email=false\n to suppress signer completion emails. sequential defaults true (one at a\n time); set false for everyone at once. prefill =\n {\"party:name\": \"text\"} sets or overrides text field defaults for this\n send only; unknown or non-text keys are a 422 invalid_prefill_key. An\n encrypted PDF stored on the draft is a 422 with code pdf_encrypted and\n is not charged. Set metadata.revision_of to a changes-requested source\n document_id for its one-time free resend while the promotion is enabled.\n Requires envelopes:send access.",
"inputSchema": {
"type": "object",
"title": "send_draftArguments",
"required": [
"document_id"
],
"properties": {
"prefill": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Prefill",
"default": null
},
"metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Metadata",
"default": null
},
"recipients": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Recipients",
"default": null
},
"sequential": {
"type": "boolean",
"title": "Sequential",
"default": true
},
"document_id": {
"type": "string",
"title": "Document Id"
},
"send_invite": {
"type": "boolean",
"title": "Send Invite",
"default": true
},
"send_completion_email": {
"type": "boolean",
"title": "Send Completion Email",
"default": true
}
}
},
"outputSchema": {
"type": "object",
"title": "send_draftOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Send Draft",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}| template_id * |
| string |
| role_mapping | any |
| send_completion_email | boolean |
{
"name": "send_from_template",
"title": "Send From Template",
"description": "Create and immediately send a new envelope from a saved template.\n Get template_id and roles from list_templates. Supply at least one\n recipient, e.g. [{\"name\": \"...\", \"email\": \"...\", \"role\": \"signer\"}],\n covering the template's field roles. Use role_mapping to rename template\n roles to recipient roles, e.g. {\"customer\": \"client\"}; unmapped roles\n stay unchanged. Use send_envelope for new PDF files, send_draft for an\n existing draft, or add_document_to_draft(template_id=...) to append to an\n existing draft without sending.\n\n The template is unchanged. A successful send normally costs 1 credit\n and sends invitations unless send_invite=false. Set\n send_completion_email=false separately to suppress signer completion\n emails. sequential defaults true (one at a time). prefill =\n {\"party:name\": \"text\"} overrides text defaults for this send only.\n metadata.revision_of may name a changes-requested source document_id for\n its one-time free resend while the promotion is enabled.\n\n If sending fails after the draft is created, the error includes draft_id.\n The draft does not store recipients or send options. To retry without\n creating a second draft, call send_draft with document_id=draft_id and\n supply recipients and any send options again. Requires envelopes:send\n access.",
"inputSchema": {
"type": "object",
"title": "send_from_templateArguments",
"required": [
"template_id",
"recipients"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name",
"default": null
},
"prefill": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Prefill",
"default": null
},
"metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Metadata",
"default": null
},
"recipients": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Recipients"
},
"sequential": {
"type": "boolean",
"title": "Sequential",
"default": true
},
"send_invite": {
"type": "boolean",
"title": "Send Invite",
"default": true
},
"template_id": {
"type": "string",
"title": "Template Id"
},
"role_mapping": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Role Mapping",
"default": null
},
"send_completion_email": {
"type": "boolean",
"title": "Send Completion Email",
"default": true
}
}
},
"outputSchema": {
"type": "object",
"title": "send_from_templateOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Send From Template",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}