LexPact UK Contracts
v1.0.2Generate UK-law contracts: NDA, service, freelance, recruiter terms of business, IR35.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_contract_templates List LexPact contract templates
List the 5 contract types LexPact can generate, their required/optional fields, and party role labels. Call this first if you don't already know the field requirements for a contract_type.
generate_contract Generate a contract
Generate a UK jurisdiction-aware contract (nda, service_agreement, freelance_agreement, recruiter_terms_of_business, or ir35_agreement). Collect all required fields through conversation before calling — never invent party names, addresses, dates, or amounts. On a validation error, read error.suggestion in the response and fix the request yourself.
| Parameter | Type | Description |
|---|---|---|
contract_type * | string | Which contract to generate. Call list_contract_templates if unsure which fields each type needs. |
effective_date * | string | Contract start date, YYYY-MM-DD. |
jurisdiction * | string | Governing jurisdiction. |
parties * | array | Exactly two parties, in order: party_a first, then party_b. |
scope_of_work * | string | Plain-English description of what this contract covers. |
custom_terms | object | Optional free-text extension, e.g. { additional_clauses: "..." }. |
deliverables | string | service_agreement only — required for that type. |
duration_months | string | nda only. |
fee | object | Recruitment fee terms — recruiter_terms_of_business only. |
ip_ownership | string | service_agreement only. |
jurisdiction_other | string | Required only when jurisdiction is INTERNATIONAL. |
kill_fee_percentage | number | freelance_agreement only. |
nda_type | string | nda only. |
output_format | string | Default markdown. pdf returns a 1-hour signed download URL instead. |
payment | object | Payment terms — shape depends on contract_type (service_agreement/freelance_agreement/ir35_agreement). Call list_contract_templates for the exact fields. |
substitution_clause | boolean | ir35_agreement only. |
get_contract Get a previously generated contract
Retrieve a contract by id. Returns status "processing" while generation is still running (call again in about 30 seconds) and "completed" with the contract once done. content_markdown is always populated regardless of the original output_format — PDF URLs are only returned once, inline, by generate_contract.
| Parameter | Type | Description |
|---|---|---|
id * | string | The contract id returned by generate_contract. |