Get template spec
get_template_specGet the editable fields of one template: current props, text roles with maxLength, theme colors, scenes, format, JSON Schema, and the source package for local rendering. Call before build_edit_link and start from the returned props.
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": {
"variantId": "<variantId>"
},
"name": "get_template_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| searchId | No | The searchId returned by search_templates. Pass it through so picks can be measured. | |
| variantId | Yes | Template id from search_templates. |