Generate a contract
generate_contractGenerate UK jurisdiction-aware contracts such as NDAs, service agreements, freelance agreements, recruiter terms, and IR35 agreements from collected party, date, scope, and payment details.
Instructions
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee | No | Recruitment fee terms — recruiter_terms_of_business only. | |
| parties | Yes | Exactly two parties, in order: party_a first, then party_b. | |
| payment | No | Payment terms — shape depends on contract_type (service_agreement/freelance_agreement/ir35_agreement). Call list_contract_templates for the exact fields. | |
| nda_type | No | nda only. | |
| custom_terms | No | Optional free-text extension, e.g. { additional_clauses: "..." }. | |
| deliverables | No | service_agreement only — required for that type. | |
| ip_ownership | No | service_agreement only. | |
| jurisdiction | Yes | Governing jurisdiction. | |
| contract_type | Yes | Which contract to generate. Call list_contract_templates if unsure which fields each type needs. | |
| output_format | No | Default markdown. pdf returns a 1-hour signed download URL instead. | |
| scope_of_work | Yes | Plain-English description of what this contract covers. | |
| effective_date | Yes | Contract start date, YYYY-MM-DD. | |
| duration_months | No | nda only. | |
| jurisdiction_other | No | Required only when jurisdiction is INTERNATIONAL. | |
| kill_fee_percentage | No | freelance_agreement only. | |
| substitution_clause | No | ir35_agreement only. |