Assemble a contract
contract_assembleCall this tool to build a contract from library clauses as .docx or markdown. A variable you omit stays as a bracketed prompt, never invented. clause_ids order is document order. Free: 8 clauses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Document title, for example 'Service Agreement - Beta Corp' | |
| client | No | Client name; also fills the {{client}} variable | |
| format | No | docx (default) or markdown; the document opens with the not-legal-advice line either way | |
| values | No | Values for the {{variables}} in the chosen clauses, for example {"fee":"4500","late_fee_percent":"2"}. Any variable you leave out stays in the document as a bracketed prompt such as [late fee percent], never as an invented value | |
| out_path | No | Where to write the file. Default: the server data directory, under a name built from the client and the title | |
| overwrite | No | Replace out_path if a file is already there. Without it an existing file is never touched | |
| categories | No | Instead of ids: every clause in these categories, ordered by category. Free tier: up to 8 clauses per document | |
| clause_ids | No | Clause ids in the order they should appear; this is the document order. Free tier: up to 8 clauses per document |