search_collections
Search Ansible Galaxy for collections by keyword to discover which collection provides modules for a specific platform or use case, returning non-deprecated collections ranked by download count.
Instructions
Search Ansible Galaxy for collections by keyword.
Returns non-deprecated collections ranked by download count. Use this to discover which collection provides modules for a specific platform or use case.
After finding a collection, use ensure_collection() to install it, then get_module_doc() or get_collection_manifest() to explore its modules.
Returns: {"query": str, "count": int, "collections": [{"namespace": str, "description": str, "tags": [str], "latest_version": str, "module_count": int, "download_count": int, "deprecated": bool, "signed": bool}, ...]} On failure returns {"error": str}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Optional comma-separated Galaxy tags to filter (e.g., 'networking,cloud') | |
| query | Yes | Search keyword (e.g., 'netbox', 'cisco ios', 'vmware') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |