Contracts AI and MCP Tools
The 25 Contracts tools for drafts, versions, templates, signing, renewal, and workspace settings.
LeenOps exposes 25 Contracts tools through the shared in-app AI and MCP registry. Contract mutations use the same Workspace workflows as the product: draft creation is atomic, versions are immutable, template definitions are published, signing uses the configured provider, and lifecycle changes retain their audit and notification side effects.
Read tools
| Tool | Purpose |
|---|---|
list_contracts | Search and filter contracts with current kinds/statuses. |
get_contract | Retrieve a contract, parties, versions, and artifacts. |
get_contract_status | Retrieve lifecycle and per-signer status. |
find_expiring_contracts | Find signed/executed contracts nearing expiry. |
list_contract_templates | List active or archived templates. |
get_contract_template | Retrieve a template and current definition. |
list_contract_versions | List immutable contract versions. |
get_contract_version | Retrieve one immutable version. |
preview_contract | Render without saving and report unresolved fields. |
get_contract_workspace_profile | Read reusable legal identity and merge-field defaults. |
Write tools
| Tool | Purpose |
|---|---|
create_contract | Atomically create a draft, first version, and parties. |
generate_contract_from_template | Create from the current published template version. |
update_contract | Update an editable draft/review-stage contract. |
delete_contract | Delete a contract that is still a draft. |
renew_contract | Create a linked renewal draft. |
extend_contract | Extend an eligible contract's expiry. |
void_contract | Revoke an eligible contract and active signing state. |
send_contract | Send through the configured native/external signing workflow. |
remind_signer | Email one or all pending signers. |
create_contract_template | Create a template and first immutable definition. |
update_contract_template | Update an editable template. |
archive_contract_template | Archive or restore a template. |
publish_contract_template_version | Publish and select an immutable definition. |
update_contract_workspace_profile | Update reusable legal identity and merge-field defaults. |
install_contract_starter_templates | Install missing starter templates idempotently. |
Current kinds and statuses
Kinds: nda, msa, dpa, sow, signed_quote, order_form,
offer_letter, contractor_agreement, vendor_agreement, partnership, and
other.
Statuses: draft, pending_review, ready_to_send, sent, viewed,
signing_in_progress, signed, executed, expired, revoked, declined,
and superseded.
Permissions
| Permission | Capability |
|---|---|
contracts.contract.view | Read contracts, versions, templates, previews, and profile. |
contracts.contract.create | Create, generate, and renew contracts. |
contracts.contract.edit | Update and extend editable contracts. |
contracts.contract.send | Send, remind, and revoke. |
contracts.contract.delete | Delete drafts. |
contracts.template.manage | Manage templates and contract workspace settings. |
The REST scope presets are contracts.read and contracts.write.
Discover current schemas
curl "https://workspace.leenops.com/api/mcp/tools/list?features=contracts&includeSchemas=true" \
-H "Authorization: Bearer $WORKESTRA_API_KEY"Before calling send_contract, verify the current schema and explain that the
operation sends real signing emails or creates an external signing envelope.
External MCP clients do not receive the in-app confirmation card.

