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

ToolPurpose
list_contractsSearch and filter contracts with current kinds/statuses.
get_contractRetrieve a contract, parties, versions, and artifacts.
get_contract_statusRetrieve lifecycle and per-signer status.
find_expiring_contractsFind signed/executed contracts nearing expiry.
list_contract_templatesList active or archived templates.
get_contract_templateRetrieve a template and current definition.
list_contract_versionsList immutable contract versions.
get_contract_versionRetrieve one immutable version.
preview_contractRender without saving and report unresolved fields.
get_contract_workspace_profileRead reusable legal identity and merge-field defaults.

Write tools

ToolPurpose
create_contractAtomically create a draft, first version, and parties.
generate_contract_from_templateCreate from the current published template version.
update_contractUpdate an editable draft/review-stage contract.
delete_contractDelete a contract that is still a draft.
renew_contractCreate a linked renewal draft.
extend_contractExtend an eligible contract's expiry.
void_contractRevoke an eligible contract and active signing state.
send_contractSend through the configured native/external signing workflow.
remind_signerEmail one or all pending signers.
create_contract_templateCreate a template and first immutable definition.
update_contract_templateUpdate an editable template.
archive_contract_templateArchive or restore a template.
publish_contract_template_versionPublish and select an immutable definition.
update_contract_workspace_profileUpdate reusable legal identity and merge-field defaults.
install_contract_starter_templatesInstall 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

PermissionCapability
contracts.contract.viewRead contracts, versions, templates, previews, and profile.
contracts.contract.createCreate, generate, and renew contracts.
contracts.contract.editUpdate and extend editable contracts.
contracts.contract.sendSend, remind, and revoke.
contracts.contract.deleteDelete drafts.
contracts.template.manageManage 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.