aap_launch_workflow
Launch an Ansible Automation Platform workflow template by ID. Pass optional variables or host limits to control execution and get the job ID and status.
Instructions
Launch an AAP workflow template.
Example: "Launch the Redis production workflow"
Args: params (LaunchWorkflowInput): - workflow_id (int): Workflow template ID - extra_vars (Optional[str]): Variables to pass - limit (Optional[str]): Host limit
Returns: str: JSON with workflow job id, status, and monitoring tip.
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_launch_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |