ansible_list_inventory
Lists hosts from an Ansible inventory file. Provide the inventory path to retrieve the managed hosts defined in it.
Instructions
List inventory hosts.
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": {
"inventory": "<inventory>"
},
"name": "ansible_list_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inventory | Yes | Inventory path |