List the Tailscale accounts logged in on this device and which one is active.
accountsobject[]*required
Accounts logged in on this device.
accountstring*required
Login name.
idstring*required
Short id used by `switch`.
nicknamestring
Nickname, when set.
selectedboolean*required
Whether this account is active.
tailnetstring*required
Tailnet name.
Switch this device to another logged-in Tailscale account by id, tailnet, or login name.
accountstring*required
Account id, tailnet, login name, or nickname from accounts::list.
accountsobject[]*required
Accounts logged in on this device.
accountstring*required
Login name.
idstring*required
Short id used by `switch`.
nicknamestring
Nickname, when set.
selectedboolean*required
Whether this account is active.
tailnetstring*required
Tailnet name.
tailscale::bugreport
functionGenerate a Tailscale bug report identifier that support can look up; optional note and in-depth diagnosis.
diagnoseboolean
Run additional in-depth checks.
notestring
Free-text note attached to the report.
outputstring*required
The CLI's own output.
report_idstring*required
Shareable bug report identifier.
Fetch a Let's Encrypt certificate and key for one of this node's MagicDNS domains (`tailscale cert`). Requires HTTPS enabled for the tailnet.
cert_filestring*required
Absolute path to write the certificate to.
domainstring*required
One of this node's certificate domains, as reported by dns::status `cert_domains`.
key_filestring*required
Absolute path to write the private key to.
cert_filestring*required
Path of the written certificate.
domainstring*required
Domain the certificate was issued for.
key_filestring*required
Path of the written private key.
outputstring*required
The CLI's own output.
tailscale::configuration
functionReturn the non-secret worker settings and the current Serve configuration. The CLI path is omitted.
allow_funnelboolean*required
Whether public Funnel shares are permitted by the operator.
command_timeout_msinteger· uint64*requiredmin 0
Per-command timeout for the Tailscale CLI.
console_urlstring*required
Local Console URL the Console share routes proxy to.
default_https_portinteger· uint16*requiredmin 0
HTTPS port used when a share request omits one.
routesobject[]*required
Active Serve and Funnel routes on this node.
hoststring*required
MagicDNS host name the route answers on.
modeall of*required
`serve` for a tailnet-only route, `funnel` when the same listener is also published to the internet.
all of (1)
variant 1
valuestringenum: serve, funnel
pathstring*required
URL path prefix the route serves.
portinteger· uint16*requiredmin 0
HTTPS port of the listener.
targetstring*required
Local target the route proxies to, or the file path it serves.
urlstring*required
Full HTTPS URL a device opens to reach the route.
serve_configunknown*required
Raw `tailscale serve status --json` output.
tailscale::connect
functionConnect this node to the tailnet (`tailscale up`). When the node still needs a sign-in, returns the Tailscale login URL instead of connecting.
authorization_urlstring
Tailscale sign-in page when the node still needs a login; open it, then call connect again.
backend_statestring
Backend state reported by the client after the call.
connectedboolean*required
True when the node is connected to the tailnet after the call.
tailscale::disconnect
functionDisconnect this node from the tailnet (`tailscale down`). Shared routes stop answering until the node connects again.
backend_statestring
Backend state reported by the client after the call, normally `Stopped` or `NeedsLogin`.
connectedboolean*required
False once the node has left the tailnet.
tailscale::dns::query
functionResolve a name through the Tailscale DNS forwarder (100.100.100.100).
namestring*required
Name to resolve.
record_typestring
Record type such as A, AAAA, CNAME, TXT; defaults to A.
answersunknown*required
Answer records as the forwarder returned them.
namestring*required
Name that was resolved.
record_typestring*required
Record type that was queried.
tailscale::dns::status
functionReport the MagicDNS and split-DNS configuration the local Tailscale DNS forwarder is using.
cert_domainsstring[]*required
Domains this node can obtain HTTPS certificates for.
magic_dnsboolean*required
Whether MagicDNS is enabled for this node.
magic_dns_suffixstring
MagicDNS suffix of the tailnet.
resolversstring[]*required
Upstream resolvers Tailscale forwards to.
search_domainsstring[]*required
Search domains pushed by the tailnet.
split_dns_routesobject[]*required
Split-DNS routes: domain suffix to resolvers.
domainstring*required
Domain suffix routed to the resolvers.
resolversstring[]*required
Resolvers used for that suffix.
tailscale::drive::list
functionList the directories this node shares with the tailnet through Taildrive. The macOS GUI app manages Taildrive in its own settings and rejects the CLI.
outputstring*required
The CLI's own output.
sharesobject[]*required
Taildrive shares as `name path` lines from the CLI.
namestring*required
Share name.
pathstring*required
Directory shared.
tailscale::drive::share
functionShare a directory with the tailnet through Taildrive under a name (`tailscale drive share`).
namestring*required
Share name.
pathstring*required
Absolute directory to share.
outputstring*required
The CLI's own output.
sharesobject[]*required
Taildrive shares as `name path` lines from the CLI.
namestring*required
Share name.
pathstring*required
Directory shared.
Stop sharing a Taildrive directory by name (`tailscale drive unshare`).
namestring*required
Share name.
outputstring*required
The CLI's own output.
sharesobject[]*required
Taildrive shares as `name path` lines from the CLI.
namestring*required
Share name.
pathstring*required
Directory shared.
List the peers that offer to be an exit node for internet traffic, and which one this node uses.
currentstring
MagicDNS name of the exit node in use, if any.
exit_nodesobject[]*required
Peers offering to be an exit node.
activeboolean*required
Whether this node currently exchanges traffic with the peer.
dns_namestring*required
MagicDNS name without the trailing dot.
exit_nodeboolean*required
Whether this node routes internet traffic through the peer.
exit_node_optionboolean*required
Whether the peer offers to be an exit node.
hostnamestring*required
Machine name.
idstring*required
Stable node id.
ingressboolean*required
True for Tailscale's Funnel ingress relay nodes, which are infrastructure rather than devices.
last_seenstring
When the peer was last seen, RFC 3339.
onlineboolean*required
Whether the peer is online.
osstring
Operating system reported by the peer.
relaystring
DERP relay the connection currently uses, empty when direct.
rx_bytesinteger· uint64*requiredmin 0
Bytes received from the peer.
tagsstring[]*required
ACL tags on the peer.
taildrop_targetboolean*required
Whether the peer accepts Taildrop files from this node.
tailscale_ipsstring[]*required
Tailscale IPv4 and IPv6 addresses.
tx_bytesinteger· uint64*requiredmin 0
Bytes sent to the peer.
Route this node's internet traffic through an exit node (by name or IP, or `auto:any`), or clear it with an empty value.
allow_lan_accessboolean
Allow direct access to the local LAN while the exit node is in use.
exit_nodestring
Exit node by MagicDNS name, hostname, Tailscale IP, or `auto:any`; empty or omitted clears the exit node.
accept_dnsboolean*required
Accept DNS configuration from the tailnet.
accept_routesboolean*required
Accept subnet routes advertised by other nodes.
advertise_exit_nodeboolean*required
Whether this node advertises itself as an exit node.
advertise_routesstring[]*required
Subnet routes this node advertises.
advertise_tagsstring[]*required
ACL tags requested by this node.
app_connectorboolean*required
Advertised as an app connector.
auto_update_applyboolean*required
Automatic updates applied.
auto_update_checkboolean*required
Automatic update checks enabled.
control_urlstring
Control server URL.
exit_node_allow_lan_accessboolean*required
LAN access allowed while using an exit node.
exit_node_idstring
Exit node in use, by id.
exit_node_ipstring
Exit node in use, by IP.
hostnamestring
Hostname override, empty when the OS name is used.
logged_outboolean*required
Whether the node is logged out.
posture_checkingboolean*required
Device posture reporting enabled.
shields_upboolean*required
Incoming connections blocked.
sshboolean*required
Tailscale SSH server enabled on this node.
want_runningboolean*required
Whether the node wants to be connected.
webclientboolean*required
Web client exposed on port 5252.
Ask Tailscale for the best available exit node for this node.
messagestring*required
The CLI's own wording.
suggestionstring
Suggested exit node name, or null when Tailscale has none to offer.
tailscale::file::receive
functionMove files that arrived in this node's Taildrop inbox into a directory (`tailscale file get`).
conflictall of
What to do when a same-named file exists; defaults to `skip`.
all of (1)
variant 1
valuestringenum: skip, overwrite, rename
directorystring*required
Absolute directory that receives the inbox files.
waitboolean
Wait for at least one file to arrive before returning.
okboolean*required
True when the CLI exited successfully.
outputstring*required
The CLI's own output.
tailscale::file::send
functionSend files to a tailnet device with Taildrop (`tailscale file cp`). Paths must be absolute and exist on this host.
namestring
Alternate file name to use when sending a single file.
pathsstring[]*requiredmin 1 items
Absolute paths of the files to send.
targetstring*required
Receiving device by machine name or Tailscale IP.
okboolean*required
True when the CLI exited successfully.
outputstring*required
The CLI's own output.
tailscale::file::targets
functionList the tailnet devices that accept Taildrop files from this node.
targetsobject[]*required
Devices that accept Taildrop files from this node.
ipstring*required
Tailscale IP of the device.
namestring*required
Machine name of the device.
Tailscale IP addresses of this node, or of a peer by hostname or IP.
peerstring
Peer hostname or Tailscale IP; omitted means this node.
addressesstring[]*required
Tailscale IPv4 and IPv6 addresses.
peerstring*required
Peer the addresses belong to, or `self`.
tailscale::lock::status
functionReport whether tailnet lock is enabled and this node's tailnet-lock public key.
enabledboolean*required
Whether tailnet lock is enabled for the tailnet.
node_keystring
This node's tailnet-lock public key (`tlpub:…`), safe to share with admins.
node_signedboolean
Whether this node is signed under tailnet lock, when enabled.
outputstring*required
The CLI's own output.
Start a Tailscale sign-in for this node (`tailscale login`) and return the browser URL a person completes it at; call connect afterwards.
authorization_urlstring
Tailscale sign-in page when the node still needs a login; open it, then call connect again.
backend_statestring
Backend state reported by the client after the call.
connectedboolean*required
True when the node is connected to the tailnet after the call.
tailscale::logout
functionLog this node out (`tailscale logout`): disconnects and expires the node key, so the next connect needs a fresh sign-in.
backend_statestring
Backend state reported by the client after the call, normally `Stopped` or `NeedsLogin`.
connectedboolean*required
False once the node has left the tailnet.
tailscale::metrics
functionReturn the client's user-facing metrics in Prometheus text format.
outputstring*required
The CLI's own output.
tailscale::netcheck
functionAnalyse the local network for Tailscale: UDP reachability, IPv4/IPv6, NAT mapping, port-mapping protocols, the preferred DERP relay and relay latencies.
captive_portalboolean
Captive portal detected on the network.
global_v4string
Public IPv4 address seen by the relays.
global_v6string
Public IPv6 address seen by the relays.
ipv4boolean*required
Whether IPv4 is usable.
ipv6boolean*required
Whether IPv6 is usable.
mapping_varies_by_dest_ipboolean
True when the NAT maps to different ports per destination (hard NAT).
preferred_derpinteger· uint64min 0
DERP relay region the client prefers.
region_latency_msobject[]*required
Round-trip latency to each DERP region in milliseconds.
latency_msnumber· double*required
Round-trip latency in milliseconds.
regioninteger· uint64*requiredmin 0
DERP region id.
udpboolean*required
Whether UDP traffic reaches the internet.
upnpboolean
Port-mapping protocols the router offers.
Internal: reload Tailscale settings after a configuration update.
tailscale::peers::list
functionList the devices on the tailnet as this node sees them: names, Tailscale IPs, OS, online state, tags, exit-node offers, and traffic counters. Keys are omitted.
include_ingressboolean
Include Tailscale's Funnel ingress relay nodes (`funnel-ingress-node`, tag `tag:ingress`), which are infrastructure rather than devices.
online_onlyboolean
Only peers that are online right now.
hidden_ingress_countinteger· uint*requiredmin 0
Funnel ingress relay nodes left out because `include_ingress` was false.
peersobject[]*required
Peers in name order.
activeboolean*required
Whether this node currently exchanges traffic with the peer.
dns_namestring*required
MagicDNS name without the trailing dot.
exit_nodeboolean*required
Whether this node routes internet traffic through the peer.
exit_node_optionboolean*required
Whether the peer offers to be an exit node.
hostnamestring*required
Machine name.
idstring*required
Stable node id.
ingressboolean*required
True for Tailscale's Funnel ingress relay nodes, which are infrastructure rather than devices.
last_seenstring
When the peer was last seen, RFC 3339.
onlineboolean*required
Whether the peer is online.
osstring
Operating system reported by the peer.
relaystring
DERP relay the connection currently uses, empty when direct.
rx_bytesinteger· uint64*requiredmin 0
Bytes received from the peer.
tagsstring[]*required
ACL tags on the peer.
taildrop_targetboolean*required
Whether the peer accepts Taildrop files from this node.
tailscale_ipsstring[]*required
Tailscale IPv4 and IPv6 addresses.
tx_bytesinteger· uint64*requiredmin 0
Bytes sent to the peer.
Ping a peer at the Tailscale layer and report whether each reply came over a DERP relay or a direct path.
countinteger· uint8min 0
Number of pings to send; defaults to 5.
targetstring*required
Peer hostname or Tailscale IP.
timeout_msinteger· uint64min 0
Per-ping timeout in milliseconds; defaults to 5000.
directboolean*required
True when at least one reply arrived over a direct path.
rawstring*required
Raw CLI output.
repliesobject[]*required
One entry per reply, in order.
latency_msnumber· double
Round-trip time in milliseconds.
linestring*required
The CLI line for this reply.
viastring*required
`direct` or `derp`.
targetstring*required
Target as given.
tailscale::prefs::get
functionRead this node's Tailscale preferences: routes, DNS, exit node, SSH, shields-up, hostname, auto-update. Keys and login secrets are omitted.
accept_dnsboolean*required
Accept DNS configuration from the tailnet.
accept_routesboolean*required
Accept subnet routes advertised by other nodes.
advertise_exit_nodeboolean*required
Whether this node advertises itself as an exit node.
advertise_routesstring[]*required
Subnet routes this node advertises.
advertise_tagsstring[]*required
ACL tags requested by this node.
app_connectorboolean*required
Advertised as an app connector.
auto_update_applyboolean*required
Automatic updates applied.
auto_update_checkboolean*required
Automatic update checks enabled.
control_urlstring
Control server URL.
exit_node_allow_lan_accessboolean*required
LAN access allowed while using an exit node.
exit_node_idstring
Exit node in use, by id.
exit_node_ipstring
Exit node in use, by IP.
hostnamestring
Hostname override, empty when the OS name is used.
logged_outboolean*required
Whether the node is logged out.
posture_checkingboolean*required
Device posture reporting enabled.
shields_upboolean*required
Incoming connections blocked.
sshboolean*required
Tailscale SSH server enabled on this node.
want_runningboolean*required
Whether the node wants to be connected.
webclientboolean*required
Web client exposed on port 5252.
tailscale::prefs::set
functionChange only the given Tailscale preferences (`tailscale set`): accept routes or DNS, advertise routes or exit node, hostname, shields-up, SSH server, auto-update, LAN access with an exit node.
accept_dnsboolean
Accept DNS configuration from the tailnet.
accept_routesboolean
Accept subnet routes advertised by other nodes.
advertise_connectorboolean
Offer this node as an app connector.
advertise_exit_nodeboolean
Offer this node as an exit node.
advertise_routesstring[]
Subnet routes to advertise, CIDR notation; an empty list stops advertising.
auto_updateboolean
Apply updates automatically.
exit_node_allow_lan_accessboolean
Allow direct LAN access while using an exit node.
hostnamestring
Hostname to use instead of the OS name; empty restores the OS name.
report_postureboolean
Report device posture to the management plane.
shields_upboolean
Block incoming connections.
sshboolean
Run the Tailscale SSH server.
update_checkboolean
Notify about available updates.
webclientboolean
Expose the web client on port 5252.
accept_dnsboolean*required
Accept DNS configuration from the tailnet.
accept_routesboolean*required
Accept subnet routes advertised by other nodes.
advertise_exit_nodeboolean*required
Whether this node advertises itself as an exit node.
advertise_routesstring[]*required
Subnet routes this node advertises.
advertise_tagsstring[]*required
ACL tags requested by this node.
app_connectorboolean*required
Advertised as an app connector.
auto_update_applyboolean*required
Automatic updates applied.
auto_update_checkboolean*required
Automatic update checks enabled.
control_urlstring
Control server URL.
exit_node_allow_lan_accessboolean*required
LAN access allowed while using an exit node.
exit_node_idstring
Exit node in use, by id.
exit_node_ipstring
Exit node in use, by IP.
hostnamestring
Hostname override, empty when the OS name is used.
logged_outboolean*required
Whether the node is logged out.
posture_checkingboolean*required
Device posture reporting enabled.
shields_upboolean*required
Incoming connections blocked.
sshboolean*required
Tailscale SSH server enabled on this node.
want_runningboolean*required
Whether the node wants to be connected.
webclientboolean*required
Web client exposed on port 5252.
tailscale::serve::add
functionPublish any local service, port, or directory on this node over Tailscale Serve (tailnet only) or Funnel (public; needs allow_funnel and confirm_public).
confirm_publicboolean
Required `true` for Funnel: acknowledges that the target becomes reachable by anyone with the link.
https_portinteger· uint16min 0
HTTPS port for the listener; defaults to the configured port. Funnel accepts 443, 8443, and 10000.
modeall of
`serve` (tailnet only, default) or `funnel` (public internet).
all of (1)
variant 1
valuestringenum: serve, funnel
pathstring
URL path prefix to publish under; defaults to `/`.
targetstring*required
Local port (`3000`), loopback URL (`http://127.0.0.1:3000`, `https+insecure://localhost:8443`), or absolute file/directory path to publish.
authorization_urlstring
Tailscale page that enables Funnel for this node, present only when authorization is required.
https_portinteger· uint16*requiredmin 0
HTTPS port of the listener.
modeall of*required
Mode that was requested.
all of (1)
variant 1
valuestringenum: serve, funnel
pathstring*required
URL path prefix the route serves.
publicboolean*required
True when the route is reachable from the public internet.
qr_svgstring*required
QR code for `url` as inline SVG markup.
stageall of*required
`ready` when the route is live; `authorization_required` when Funnel must first be enabled for this node.
all of (1)
variant 1
valuestringenum: authorization_required, ready
targetstring*required
Local target the route proxies to.
urlstring*required
URL to open: the published route, or the Tailscale authorization page when `stage` is `authorization_required`.
tailscale::serve::list
functionList every Serve and Funnel route on this node with its URL, target, and visibility.
routesobject[]*required
Active Serve and Funnel routes on this node.
hoststring*required
MagicDNS host name the route answers on.
modeall of*required
`serve` for a tailnet-only route, `funnel` when the same listener is also published to the internet.
all of (1)
variant 1
valuestringenum: serve, funnel
pathstring*required
URL path prefix the route serves.
portinteger· uint16*requiredmin 0
HTTPS port of the listener.
targetstring*required
Local target the route proxies to, or the file path it serves.
urlstring*required
Full HTTPS URL a device opens to reach the route.
tailscale::serve::remove
functionRemove one route by mode, HTTPS port, and path. mode=funnel removes public access and keeps the tailnet-only route with its original target; mode=serve removes the route entirely.
https_portinteger· uint16*requiredmin 0
HTTPS port of the route to stop.
modeall of*required
Mode of the route to stop.
all of (1)
variant 1
valuestringenum: serve, funnel
pathstring
URL path prefix of the route to stop; defaults to `/`.
https_portinteger· uint16*requiredmin 0
HTTPS port of the route.
modeall of*required
Mode that was stopped.
all of (1)
variant 1
valuestringenum: serve, funnel
pathstring*required
URL path prefix of the route.
remainingany of
Route that remains on that listener and path after the call, if any.
any of (2)
variant 1
hoststring*required
MagicDNS host name the route answers on.
modeall of*required
`serve` for a tailnet-only route, `funnel` when the same listener is also published to the internet.
… expand 1 nestedcollapse
all of (1)
variant 1
valuestringenum: serve, funnel
pathstring*required
URL path prefix the route serves.
portinteger· uint16*requiredmin 0
HTTPS port of the listener.
targetstring*required
Local target the route proxies to, or the file path it serves.
urlstring*required
Full HTTPS URL a device opens to reach the route.
stoppedboolean*required
True when the route was changed.
tailscale::serve::reset
functionRemove every Serve and Funnel route on this node (`serve reset` and `funnel reset`). Requires confirm=true.
confirmboolean
Must be `true`: every Serve and Funnel route on this node is removed.
routesobject[]*required
Active Serve and Funnel routes on this node.
hoststring*required
MagicDNS host name the route answers on.
modeall of*required
`serve` for a tailnet-only route, `funnel` when the same listener is also published to the internet.
all of (1)
variant 1
valuestringenum: serve, funnel
pathstring*required
URL path prefix the route serves.
portinteger· uint16*requiredmin 0
HTTPS port of the listener.
targetstring*required
Local target the route proxies to, or the file path it serves.
urlstring*required
Full HTTPS URL a device opens to reach the route.
Share the local iii Console. Serve is tailnet-only and the default; Funnel is public and requires allow_funnel in the configuration plus confirm_public in the request.
confirm_publicboolean
Required `true` for Funnel: acknowledges that the Console becomes reachable by anyone with the link.
https_portinteger· uint16min 0
HTTPS port for the listener; defaults to the configured port. Funnel accepts 443, 8443, and 10000.
modeall of
`serve` (tailnet only, default) or `funnel` (public internet).
all of (1)
variant 1
valuestringenum: serve, funnel
pathstring
URL path prefix to serve the Console under; defaults to `/`.
authorization_urlstring
Tailscale page that enables Funnel for this node, present only when authorization is required.
https_portinteger· uint16*requiredmin 0
HTTPS port of the listener.
modeall of*required
Mode that was requested.
all of (1)
variant 1
valuestringenum: serve, funnel
pathstring*required
URL path prefix the route serves.
publicboolean*required
True when the route is reachable from the public internet.
qr_svgstring*required
QR code for `url` as inline SVG markup.
stageall of*required
`ready` when the route is live; `authorization_required` when Funnel must first be enabled for this node.
all of (1)
variant 1
valuestringenum: authorization_required, ready
targetstring*required
Local target the route proxies to.
urlstring*required
URL to open: the published route, or the Tailscale authorization page when `stage` is `authorization_required`.
tailscale::share::stop
functionStop one Console share by mode, HTTPS port, and path. mode=funnel removes public access and keeps the tailnet-only route; mode=serve removes the route entirely. Other routes are never reset.
https_portinteger· uint16*requiredmin 0
HTTPS port of the route to stop.
modeall of*required
Mode of the route to stop.
all of (1)
variant 1
valuestringenum: serve, funnel
pathstring
URL path prefix of the route to stop; defaults to `/`.
https_portinteger· uint16*requiredmin 0
HTTPS port of the route.
modeall of*required
Mode that was stopped.
all of (1)
variant 1
valuestringenum: serve, funnel
pathstring*required
URL path prefix of the route.
remainingany of
Route that remains on that listener and path after the call, if any.
any of (2)
variant 1
hoststring*required
MagicDNS host name the route answers on.
modeall of*required
`serve` for a tailnet-only route, `funnel` when the same listener is also published to the internet.
… expand 1 nestedcollapse
all of (1)
variant 1
valuestringenum: serve, funnel
pathstring*required
URL path prefix the route serves.
portinteger· uint16*requiredmin 0
HTTPS port of the listener.
targetstring*required
Local target the route proxies to, or the file path it serves.
urlstring*required
Full HTTPS URL a device opens to reach the route.
stoppedboolean*required
True when the route was changed.
tailscale::status
functionInspect local Tailscale connectivity, node identity, health notices, and the active Serve and Funnel routes. Keys, users, and capability maps are omitted.
backend_statestring
Backend state reported by the client, `Running` when connected.
dns_namestring
MagicDNS name of this node without the trailing dot.
errorstring
Error text when the client could not be queried.
exit_nodestring
Exit node this node currently routes through, if any.
funnel_allowedboolean*required
Whether the tailnet policy allows this node to use Funnel.
healthstring[]*required
Health notices reported by the client.
hostnamestring
Machine name of this node.
ingress_node_countinteger· uint*requiredmin 0
Tailscale Funnel ingress relay nodes in the peer list; infrastructure, excluded from the peer counts.
installedboolean*required
Whether the Tailscale CLI could be started.
magic_dns_suffixstring
MagicDNS suffix of the tailnet.
onlineboolean*required
True when the client is running and this node is online.
online_peer_countinteger· uint*requiredmin 0
Number of peers currently online.
peer_countinteger· uint*requiredmin 0
Number of peers visible on the tailnet.
routesobject[]*required
Active Serve and Funnel routes on this node.
hoststring*required
MagicDNS host name the route answers on.
modeall of*required
`serve` for a tailnet-only route, `funnel` when the same listener is also published to the internet.
all of (1)
variant 1
valuestringenum: serve, funnel
pathstring*required
URL path prefix the route serves.
portinteger· uint16*requiredmin 0
HTTPS port of the listener.
targetstring*required
Local target the route proxies to, or the file path it serves.
urlstring*required
Full HTTPS URL a device opens to reach the route.
tailnetstring
Name of the tailnet this node belongs to.
tailscale_ipsstring[]*required
Tailscale IPv4 and IPv6 addresses of this node.
versionstring
Tailscale client version.
tailscale::ui-content
functionServe the tailscale worker's injected console UI assets (content function for its console:script / console:style triggers).
pathstring*required
The asset path from the trigger config (e.g. `state/page.js`).
contentstring*required
The asset source, verbatim.
content_typestring*required
MIME type the console should serve the asset with.
tailscale::update
functionUpdate the Tailscale client to the latest release, or with dry_run=true only report what would change.
dry_runboolean
Report what an update would do without applying it.
outputstring*required
The CLI's own output.
tailscale::version
functionTailscale client version, and optionally the latest upstream release for the current track.
check_upstreamboolean
Also fetch the latest upstream release for the current track.
longstring
Full version string with commit hashes.
os_variantstring
Client variant, e.g. `macsys`.
upstreamstring
Latest upstream release when `check_upstream` was set.
versionstring*required
Installed client version, e.g. `1.98.8`.
Identify the machine and user behind a Tailscale IP. Keys and endpoints are omitted.
ipstring*required
Tailscale IPv4 or IPv6 address, optionally with `:port`.
addressesstring[]*required
Tailscale addresses of the node.
node_idstring
Stable node id.
node_namestring
MagicDNS name of the node.
osstring
Operating system reported by the node.
tagsstring[]*required
ACL tags on the node.
user_display_namestring
Display name of the user who owns the node.
user_loginstring
Login name of the user who owns the node.