list_hosts
Retrieve all managed UniFi hosts and consoles, with pagination and controller selection, to inventory network infrastructure.
Instructions
List all managed hosts/consoles.
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 |
|---|---|---|---|
| limit | No | Optional maximum number of hosts to return | |
| offset | No | Optional number of hosts to skip (for pagination) | |
| controller | No | Controller to run against (see list_controllers). Defaults to the controller chosen with select_controller, then the server default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |