list_hosts
Retrieve a list of all UniFi hosts linked to your account, including consoles and gateways. View their type, IP address, firmware version, and connectivity status.
Instructions
List all UniFi hosts (consoles/gateways) associated with your account.
Returns host details including type, IP address, firmware version, and connectivity status. Use this to get an overview of all your UniFi controllers and gateways.
Args: page_size: Number of hosts per page (default 25). next_token: Pagination token from a previous response to get the next page.
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": "list_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_size | No | ||
| next_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |