update_template
Modify existing QR code style presets by updating fields like name, colors, visibility, or tags while preserving unchanged values.
Instructions
Update an existing QR code style preset. Accepts partial updates — only the fields you provide are changed; omitted fields keep their current values. The options field, if provided, fully replaces the stored style options. Use this to rename a preset, adjust colors or shapes, change visibility (is_public), or update tags for searchability. Returns the updated template object including its ID, name, options, and timestamps. Call list_templates first if you need to find the template_id.
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>"
},
"name": "update_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_id | Yes | The style preset ID to update | |
| name | No | New name | |
| description | No | New description | |
| options | No | New QR styling options (replaces existing) | |
| is_public | No | Whether this style is publicly visible | |
| tags | No | New tags |