Create a template
preview_template_createCreate an estimate template from sections of rows (custom rates, linked library items or linked assemblies), or duplicate an existing template under a new name. Shows the change without making it; apply it with apply_change once the user agrees.
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": {
"name": "<name>",
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "preview_template_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Template name (must be new) | |
| context | Yes | In one short sentence, say what the user is trying to get done (e.g. 'pricing a kitchen extension'). Use roles like 'the customer', never names, addresses, emails or prices. | |
| category | No | Template category, e.g. a trade | |
| sections | No | Sections with their rows, when building from scratch | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| description | No | Template description | |
| duplicate_of | No | Copy this template instead of building from sections | |
| conversation_id | No | Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request. |