Tailnet status
tailnet_statusReports local Tailscale tailnet state—node and peers with hostnames, IPs, OS, online status, last seen, exit-node flags, tags; returns exact fix commands for missing binary, stopped daemon, or login.
Instructions
Report the state of the local tailnet: this node plus all peers with hostname, MagicDNS name, Tailscale IPv4/IPv6, OS, online flag, last seen, exit-node flags, and tags. Returns a structured error with the exact fix command when the tailscale binary is missing, the daemon is stopped, or the device needs login.
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": "tailnet_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| onlineOnly | No | Only include peers that are currently online (default: false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| self | Yes | ||
| peers | Yes | ||
| health | Yes | ||
| tailnet | Yes | ||
| peerCount | Yes | Total peers, before any onlineOnly filter | |
| backendState | Yes | ||
| magicDNSSuffix | Yes |