Start the inbound receiver
receiver_startStart the mock receiver to listen for participant callbacks and get the required callback URL. Call before creating a session.
Instructions
Make sure this mock can receive the participant's callbacks, and report the URL it must use. Call it once before session_create. Under the HTTP transport the receiver is already mounted and this just reports the address; on stdio it binds a listener. Safe to call repeatedly. The address must be reachable from the participant — for a remote participant, set RECEIVER_PUBLIC_URL (or the session's receiver_public_url) to a tunnel address instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Include a session to get its exact callback URL back. Omit for just the base URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | 'mounted' — the receiver shares this server's HTTP port. 'standalone' — a listener of its own, started for the stdio transport. | |
| port | No | ||
| running | Yes | ||
| base_url | Yes | Base URL the participant must be able to reach. | |
| callback_url | No | The exact URL for the given session. Give this to the participant as its counterparty subscriber URL. | |
| reachability_note | Yes | What to check before assuming the participant can reach this address. |