create_contract_from_template
Creates a new customer contract from a subscription template with predefined items, pricing, and billing, optionally activating it and sending an order confirmation.
Instructions
Create a new contract from a subscription template. Uses a pre-configured template to set up the contract with predefined items, pricing, and billing configuration. Optionally activates the contract and sends an order confirmation immediately.
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": {
"uuid": "<uuid>",
"customerNumber": "<customerNumber>"
},
"name": "create_contract_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | The UUID of the subscription template to create the contract from. | |
| issueDate | No | The issue date of the contract in YYYY-MM-DD format. | |
| customerNumber | Yes | The customer number who will own the new contract. | |
| activateContract | No | Whether to immediately activate the contract after creation. | |
| sendOrderConfirmation | No | Whether to send an order confirmation email to the customer. |