Get Plugin Doc
get_plugin_docRetrieve full structured documentation for a single Ansible plugin by name and type, including parameters, examples, and source; falls back to Galaxy when the collection is not installed locally.
Instructions
Get full structured documentation for one plugin.
Returns: plugin_name, plugin_type, short_description, params, examples, doc_source ('local' or 'galaxy'). Falls back to Galaxy if collection is not installed locally. 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": {
"plugin_name": "<plugin_name>",
"plugin_type": "<plugin_type>"
},
"name": "get_plugin_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plugin_name | Yes | Fully-qualified plugin name (e.g. 'netbox.netbox.nb_lookup') | |
| plugin_type | Yes | Plugin type (lookup, filter, test, connection, become, strategy, callback, inventory, cache, cliconf, httpapi, netconf, shell, or vars) | |
| collection_handle | No | Session handle returned by ensure_collection. Omit on local stdio; required on remote. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |