aap_list_inventories
List inventories from Ansible Automation Platform with pagination and search. View counts and active failure details for each inventory.
Instructions
List AAP inventories.
Args: params (ListInventoriesInput): Pagination and filter options.
Returns: str: JSON with count and inventory list (id, name, description, total_hosts, groups_with_active_failures).
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": {
"params": "<params>"
},
"name": "aap_list_inventories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |