# template.set_info

> Sets the description and the named colours of the template.

Source: https://alexgalhardo.github.io/vukem-video/docs/reference/commands/template.set_info/

Sets the description and adds, replaces or (with null) removes named colours. A colour that a style, a shape or the background still refers to as "$name" cannot be removed. A document that has no template gets one.

## Arguments

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `colors` | `object` | no | Name to #RRGGBB or #RRGGBBAA; null removes the name. |
| `description` | `string` | no | 0 to 500 characters. |

## Example

As one operation of an `edit` batch (the `edit` tool of MCP, `vukem-video edit --ops`, or `POST /api/v1/projects/{id}/edit`):

```json
{
  "op": "template.set_info",
  "args": {
    "colors": {
      "brand": "#ff3366",
      "old": null
    },
    "description": "Product teaser"
  }
}
```

## Errors

[`E_VALIDATION`](/docs/reference/error-codes#e_validation), [`E_IN_USE`](/docs/reference/error-codes#e_in_use)

## Scope and phase

Scope `edit`, phase `alpha`. Run `vukem-video command:help template.set_info` for the same description from the binary.
