add_playback_id
Add a playback id. Prefer policy: public unless the user asked otherwise.
An `authenticated` id is created, but nothing here can sign viewer
tokens, so viewers cannot play it from this connector. Refused with
`code: stream_active` while the stream is starting, waiting, launching,
live, or idle, because the live API would stop the broadcast. Do not
retry until the stream is stopped.
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": {
"stream_id": "<stream_id>",
"policy": "<policy>"
},
"name": "add_playback_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | Yes | public is watchable via playback_url. authenticated cannot be signed here. | |
| stream_id | Yes | Live stream id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||