ssh_list_hosts
List all SSH hosts from the inventory with alias, hostname, port, username, and auth type. Supports markdown or JSON output.
Instructions
List all SSH hosts registered in the inventory.
Returns the alias, hostname, port, username, and auth type for every configured host. Call this first when you don't know what machines are available.
Args: response_format: 'markdown' (default) for a readable table, or 'json' for structured data.
Returns: Formatted list of hosts, or a message if the inventory is empty.
Examples: - "What servers can I connect to?" -> ssh_list_hosts() - "Show me all SSH targets as JSON" -> ssh_list_hosts(response_format='json')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |