ansible_run_playbook
Run a playbook after explicit confirmation, with optional inventory and extra-vars to control the execution.
Instructions
Run a playbook (confirm required).
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": {
"playbook": "<playbook>"
},
"name": "ansible_run_playbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to execute | |
| playbook | Yes | Playbook | |
| extraVars | No | JSON extra-vars | |
| inventory | No | Inventory |