inventory-find-host
Locate a host, its groups, and merged variables by querying resolved Ansible inventories.
Instructions
Find a host, its groups, and merged variables across the resolved inventories.
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": {
"host": "<host>"
},
"name": "inventory-find-host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| project_root | No | ||
| inventory_paths | No | ||
| ansible_cfg_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||