hosts_list
List the servers reachable through Termalin (your tunnel agents). Returns id, name, whether the server is online, the user commands run as, when it was last seen, its country, ip (the public address the server's Connector connects from; null until it has connected), and ownerNote — what the owner wrote about that server for you (what it is, what to leave alone); follow it. 'policy' says what you may do there: full, allowlist (only listed commands; allowedCommands holds the server's list, no file writes) or readonly (no commands, no file writes). 'tags' are the owner's labels for the server (prod, neuroshop…) and 'groups' the ones Termalin knows by itself (os:linux, distro:ubuntu, release:ubuntu-24.04, country:fr); pass 'tag' to list only the servers that have all of the given ones. Use the id (or the exact name) as 'host' in the other tools.
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": "hosts_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only servers with every one of these tags or groups, e.g. "prod" or ["release:ubuntu-24.04", "prod"] |