template_create
Create a job template for automation workflows by specifying project, playbook, inventory, and repository.
Instructions
Create a new template (job template).
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": {
"project_id": "<project_id>",
"name": "<name>",
"playbook": "<playbook>",
"inventory_id": "<inventory_id>",
"repository_id": "<repository_id>"
},
"name": "template_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The ID of the project. | |
| name | Yes | Template name. | |
| playbook | Yes | Playbook filename to run. | |
| inventory_id | Yes | ID of the inventory to use. | |
| repository_id | Yes | ID of the repository containing the playbook. | |
| environment_id | No | ID of the environment (optional). | |
| description | No | Template description (optional). | |
| arguments | No | Extra CLI arguments as JSON array string (optional). | |
| allow_override_args_in_task | No | Allow overriding arguments per task. | |
| suppress_success_alerts | No | Suppress alerts on success. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |