ansible_syntax_check
Validate Ansible playbook syntax before running it. Provide the playbook path and optional inventory to catch errors early.
Instructions
Syntax-check a playbook.
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_syntax_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playbook | Yes | Playbook path | |
| inventory | No | Inventory |