searchCollections
Find Ansible collections by keywords, namespace, name, or tags across Red Hat Automation Hub and Galaxy, returning versions, sources, descriptions, tags, and required ansible-core.
Instructions
Search Ansible collections on Red Hat Automation Hub (Certified and Validated content) and community Galaxy by keywords, namespace, name, and tags. Returns each match's namespace.name, version, source, description, tags, and required ansible-core. Default sources: published and validated with AAH_TOKEN set, galaxy without.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "searchCollections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Exact collection name (without the namespace), for example 'rhel_system_roles' | |
| page | No | Page of results, from 0 | |
| tags | No | Tags that must all match, for example ['linux', 'security'] | |
| limit | No | Maximum characters to return in this call. Default 30000 keeps responses under typical MCP tool-result token caps. | |
| offset | No | Character offset into the rendered response. Default 0. Use the value from the previous call's "[truncated]" footer to fetch the next chunk. | |
| signed | No | true: only signed collection versions | |
| sources | No | Sources to search: published, validated, galaxy | |
| keywords | No | Full-text keywords matched against names, descriptions, tags, and content names, for example 'acme certificate' or 'idm' | |
| namespace | No | Exact namespace, for example 'redhat', 'ansible', 'community', 'cisco' | |
| deprecated | No | true: only deprecated collections; false: exclude them. Default: both. | |
| maxResults | No | Results per source host, 1-100 (default 20) | |
| highestOnly | No | Return only the highest version of each collection (default true); false lists every matching version |