netmiko.list_devices
Discover exact device names from your network inventory to use with other tools. List devices by group or specific name without requiring credentials.
Instructions
List devices from the inventory, without credentials.
IMPORTANT: If the user message involves network devices, call netmiko.get_metadata FIRST.
Use this to discover exact device names before running a command. Device names are the only handle the other tools accept — never pass an IP address or a hostname you inferred.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_or_group | No | 'all' (default), a group name, or a device name. | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |