Update Template
update_templateUpdate an existing Automation Studio template with new command, template text, or sample data, preserving unspecified fields. Supports text processing, configuration generation, and data parsing.
Instructions
Update an existing template in Automation Studio.
Updates an existing template with new content including command, template text, and sample data. Only specified fields will be updated; fields not provided will retain their existing values. Templates are used for text processing, configuration generation, and data parsing within automation workflows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Sample data used to test the template | |
| name | Yes | The name of the template to update | |
| command | No | The CLI command to be run on the target device | |
| project | No | The name of the project where this template resides. The available projects can be found using get_projects | |
| template | No | The template text uesd to generate the output |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Sample data used to test the template | |
| name | Yes | Template name | |
| type | Yes | Template type (textfsm or jinja2) | |
| group | Yes | The group the template is currently part of | |
| command | Yes | The command send to the device to generate the source text | |
| template | Yes | The template used to generate the final output | |
| description | No | Template description |