Generate a contract
generate_contractGenerate contract draft markdown from standard templates, auto-fill customer data via CRM, and save for counsel review when needed.
Instructions
Fill a standard contract template with the given fields and return the draft markdown. Optionally auto-fills customer_name from a CRM company, and with save:true writes the draft into the media gallery. Drafts are stamped to review with counsel — not legal advice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"template": "<template>"
},
"name": "generate_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| vars | No | Template fields, e.g. { provider, effective_date, term }. | |
| company | No | CRM company id to auto-fill customer_name. | |
| project | Yes | ||
| template | Yes |