websocket
このコンテンツはまだ日本語訳がありません。
websocket
Section titled “websocket”Surface: expose as websocket
Children
Section titled “Children”Translations
Section titled “Translations”- en: websocket
- de: Websocket
- es: websocket
- fr: websocket
- ja: ウェブソケット
- ko: websocket
- zh: websocket
Example — Reaching the outside world
Section titled “Example — Reaching the outside world”One machine reachable many ways: a web address, notifications, an AI-tool connection, a phone shortcut, a widget — with access rules on each.
machine status_board accepts question as text responds with status as text behaves compute answer {status: "ok"} expresses api path: "/status" method: "GET" available to: team requires auth: oauth rate limit: 100 webhook path: "/hooks/status" websocket path: "/ws/status" mcp name: "status_tool" a2a name: "status_agent" page view theme: "light" command refresh shortcut phrases: ["Check status"] widget kind: "small" subscribes on "status.changed" compute bump {status: "changed"} verifies test "answers on every surface" given {question: "up?"} expect {status: "ok"}