Open a template with the user's details on it
open_templateMake the link that opens one template from show_templates in the Designprint editor, with the user's own words in place of the template's sample text. Pass the template_id and the replacements. The user edits anything they like there and orders prints from the same page; nothing is charged by this call. If the result lists texts that were not placed, correct them and call it again.
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": {
"template_id": "<template_id>",
"replacements": "<replacements>"
},
"name": "open_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | The assistant making the call, for example claude or chatgpt. | |
| template_id | Yes | The template_id of the template the user picked, from show_templates. | |
| replacements | Yes | Which of the template's texts to replace with the user's own words. Texts left out stay as the template has them. |