aap_create_job_template
Create a new AAP job template by specifying project, playbook, and optional settings like inventory, credentials, become, and extra vars. Returns the template ID and launch URL.
Instructions
Create a new AAP job template.
Example: Create a job template for Apache installation using a project and inventory, with become enabled and check mode disabled.
Args: params (CreateJTInput): Template configuration. See field descriptions.
Returns: str: JSON with created template id, name, and launch URL.
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": {
"params": "<params>"
},
"name": "aap_create_job_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |