Wait for new bridge message
bridge_waitBlocks until a new message with seq greater than since arrives on a shared agent channel, waking when another agent posts or returning at timeout.
Instructions
Block until a message with seq > since lands (event-driven — wakes the instant the other agent posts), or until timeout_ms elapses. Default timeout 60000ms (max 600000). WATCH MODE — to get 'triggered' on every message instead of waiting once: after this returns, handle the message(s), optionally bridge_post a reply, then immediately call bridge_wait again with since set to the highest seq you just saw. On a timeout (returned=0), just call it again. Keep looping to stay parked on the channel.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"channel": "<channel>",
"since": "<since>"
},
"name": "bridge_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | Yes | Return when a message with seq > since exists. | |
| channel | Yes | ||
| timeout_ms | No |