Set Tailscale preferences
tailscale_set_prefsModify Tailscale node preferences incrementally without disconnecting, covering SSH, hostname, DNS, shields, and auto-update, then return the resulting status.
Instructions
Incrementally change one or more preferences via tailscale set (no connect/disconnect, no complete-flag-set requirement). Only benign prefs — exit-node and routes have dedicated tools. Returns the resulting status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ssh | No | Enable/disable Tailscale SSH server on this node. | |
| hostname | No | ||
| nickname | No | ||
| acceptDns | No | ||
| shieldsUp | No | Block incoming connections. | |
| webclient | No | ||
| autoUpdate | No | ||
| unattended | No | Windows: keep connected with no user logged in. | |
| updateCheck | No | ||
| reportPosture | No | ||
| advertiseExitNode | No | Offer this node as an exit node (still needs approval in the admin console). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | ||
| state | Yes | running | running_local_only | stopped | needs_login | starting | no_state | daemon_unreachable | unknown | |
| health | Yes | ||
| authURL | No | ||
| dnsName | No | ||
| version | No | ||
| hostName | No | ||
| connected | Yes | True only when BackendState=Running AND Self.Online. | |
| keyExpiry | No | ||
| keyExpired | Yes | ||
| selfOnline | Yes | ||
| haveNodeKey | Yes | ||
| backendState | Yes | ||
| tailscaleIPs | Yes | ||
| currentTailnet | No |