opnsense_tailscale_service_status
Check whether the Tailscale service (tailscaled) is running on OPNsense to confirm VPN connectivity status.
Instructions
Check if the Tailscale service (tailscaled) is running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/tailscale.ts:154-157 (handler)Handler for opnsense_tailscale_service_status: calls client.get('/tailscale/service/status') and returns the JSON result.
case "opnsense_tailscale_service_status": { const result = await client.get("/tailscale/service/status"); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; } - src/tools/tailscale.ts:107-115 (schema)Schema definition for opnsense_tailscale_service_status: no input parameters required.
{ name: "opnsense_tailscale_service_status", description: "Check if the Tailscale service (tailscaled) is running.", inputSchema: { type: "object" as const, properties: {}, }, }, ]; - src/index.ts:69-69 (registration)Registration: tool definition added to tailscaleToolDefinitions, which is iterated and mapped to handleTailscaleTool in the toolHandlers map.
for (const def of tailscaleToolDefinitions) toolHandlers.set(def.name, handleTailscaleTool);