Create a stream
create_streamCreate a stream card and get ingest server addresses for RTMP, SRT or WHIP (browser). A stream card has no planned start time: it goes on air when start_stream is called. The stream key is hidden; call reveal_stream_key when the user wants it. visibility chooses who can watch: Access modes: PUBLIC (anyone, listed on the channel), LINK_ONLY (anyone who has the link or the embed code, not listed), REGISTERED (viewer must fill the registration form), ACCESS_KEY (viewer must enter a password), PRIVATE (only the owner). For an internal or staff-only broadcast use ACCESS_KEY together with access_key (the password viewers enter), or REGISTERED. Default PUBLIC. Next steps for a website: get_stream_embed_codes for the player and chat iframes, set_embed_domains to restrict them to the company site, start_stream when the encoder is sending.
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": {
"title": "<title>"
},
"name": "create_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Stream title | |
| protocol | No | Ingest protocol, default RTMP | |
| recording | No | Default true: each broadcast is kept as a recording on this stream card (downloadable later; not a separate video). false keeps nothing after the broadcast. | |
| access_key | No | The password viewers must enter. Required when visibility is ACCESS_KEY, ignored otherwise. Change it later with update_stream. | |
| visibility | No | Access mode; the five modes are listed in create_stream | |
| description | No | Stream description |