Get Collection Docs
get_collection_docsRetrieves full parameter-level documentation for every module in an Ansible collection from Galaxy in one API call without installing it, for batch operations needing all module details at once.
Instructions
Get full parameter-level documentation for every module in a collection from Galaxy.
WARNING: output can be very large (100 KB+) for collections with many modules. Use get_collection_manifest first for a compact overview, then get_module_doc for the specific modules you need. Reserve this tool for batch operations that genuinely need all parameter details at once (e.g. skill generation).
Returns all module docs in a single API call without installing the collection. Result shape: {"modules": {fqcn: {module_name, short_description, params, examples, is_api_module}, ...}, "doc_source": "galaxy", "doc_version": str}. On failure returns {"error": str}.
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": {
"collection_namespace": "<collection_namespace>"
},
"name": "get_collection_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Optional version (e.g. '3.23.0'). If omitted, uses latest. | |
| collection_handle | No | Session handle returned by ensure_collection. Omit on local stdio; required on remote. | |
| collection_namespace | Yes | Collection namespace (e.g. 'netbox.netbox') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |