mesh_watch
Watch a mesh topic for incoming facts, blocking until a set duration or event count is reached, then return the received facts.
Instructions
Watch a mesh topic for inbound facts for up to duration_seconds, then return whatever arrived. This call BLOCKS for the full duration (or until count events arrive, whichever is first) -- there is no standing/background subscription to poll later; call this again to keep watching. Defaults to station-de-frankfurt.macula.io:4433 if host isn't given. Presence heartbeats are ordinary facts on "agent.hello"/"agent.goodbye" -- watch those directly to react to an arrival/departure yourself instead of polling mesh_agents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Station to connect through, "host[:port]". Defaults to station-de-frankfurt.macula.io:4433. | |
| count | No | Stop early once this many events have arrived. | |
| realm | No | 32-byte realm as hex (64 chars) the topic is scoped to. Omit for the default all-zero realm. See mesh_call's realm description for the full rationale. | |
| topic | Yes | Topic name (e.g. 'chat.demo'). | |
| duration_seconds | No | How long to watch, in seconds (max 3600). |