Switch login profile
tailscale_switch_profileSwitches the active Tailscale account or login profile on this machine by id, changing which identity and tailnet controls the node. Requires approval.
Instructions
Switch the active Tailscale account/login profile on this machine (tailscale switch <id>). ⚠ This changes which identity/tailnet controls this node, so it requires user approval. Use tailscale_list_profiles to see ids. Returns the resulting status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Profile id from tailscale_list_profiles. |
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 |