{"openapi": "3.1.0", "info": {"title": "fleet MCP gateway", "version": "2"}, "servers": [{"url": "https://msi.tail3ae91c.ts.net"}], "paths": {"/tools/fleet.status": {"post": {"operationId": "fleet_status", "summary": "Node health + identity", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}, "/tools/node.facts": {"post": {"operationId": "node_facts", "summary": "Alias of fleet.status", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}, "/tools/worker.jobs": {"post": {"operationId": "worker_jobs", "summary": "Jobs + queue depth", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}, "/tools/worker.queue.depth": {"post": {"operationId": "worker_queue_depth", "summary": "Unsent outbox rows", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}, "/tools/worker.submit": {"post": {"operationId": "worker_submit", "summary": "Enqueue lease for worker (validated, capped)", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}, "/tools/worker.logs.tail": {"post": {"operationId": "worker_logs_tail", "summary": "Tail heal log, secrets redacted", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}, "/tools/net.ddil": {"post": {"operationId": "net_ddil", "summary": "DDIL mode + clock sync", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}, "/tools/worker.drain": {"post": {"operationId": "worker_drain", "summary": "Stop worker, finish lease (<=300s)", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}, "/tools/worker.restart.bounded": {"post": {"operationId": "worker_restart_bounded", "summary": "Restart worker, max 1/30min", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}, "/tools/fleet.peers": {"post": {"operationId": "fleet_peers", "summary": "Enumerate tailnet peers for omni-directional control", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}, "/tools/bt.status": {"post": {"operationId": "bt_status", "summary": "Bluetooth PAN + bonded peers state", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}, "/tools/fleet.file.read": {"post": {"operationId": "fleet_file_read", "summary": "Read file in allowlisted roots (redacted, 512KB)", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}, "/tools/fleet.file.write": {"post": {"operationId": "fleet_file_write", "summary": "Write file in allowlisted roots (1MB, 20/hr, audited)", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}, "/tools/fleet.remote.file.write": {"post": {"operationId": "fleet_remote_file_write", "summary": "Atomically write/readback one file on an allowlisted fleet host", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}, "/tools/fleet.ssh.exec": {"post": {"operationId": "fleet_ssh_exec", "summary": "Run command on allowlisted fleet host (narrow sudo only)", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}, "/mcp": {"post": {"operationId": "mcp_rpc", "summary": "JSON-RPC: {tool, args}", "requestBody": {"content": {"application/json": {"schema": {"type": "object"}}}}, "responses": {"200": {"description": "ok"}}, "security": [{"bearerAuth": []}]}}}, "components": {"securitySchemes": {"bearerAuth": {"type": "http", "scheme": "bearer"}}}, "security": [{"bearerAuth": []}]}