Playbooks
playbookList, read, write, delete, or lint Ansible project files. Every write is linted to reject constructs that would run on the local Mac, keeping changes safe.
Instructions
List, read, write, delete or lint files in the project: playbooks/.yml, roles/..., oneoffs/.yml, and check scripts checks//.sh|.rsc|.ps1 (run by look check=). Every write is linted: constructs that would run on the Mac (lookups, delegate_to, localhost, check_mode: false...) are refused. Declare per-run inputs in the first play's vars.asm_params so one approval covers them, e.g. asm_params: {client: {type: str, pattern: "^[a-z0-9-]+$"}}. Never put secrets in 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": {
"action": "<action>"
},
"name": "playbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | project-relative path, e.g. playbooks/updates.yml, roles/web/tasks/main.yml, checks/linux/x.sh | |
| action | Yes | list (default), read, write, delete or lint | |
| content | No | write: the whole file |