Update stream details
update_streamChange the title, description, access mode or paid access (is_paid, price in USD; needs a payout gateway connected by the user, otherwise NO_PAYOUT_GATEWAY; outside get_account saleBounds: 400 PRICE_BELOW_PLAN_MIN or PRICE_ABOVE_PLAN_MAX) of a stream card of the connected account. Access modes as in create_stream. To protect a stream with a password send visibility ACCESS_KEY together with access_key; to change the password of a stream that is already ACCESS_KEY send access_key alone (viewers who entered the old password are asked again). Moving to another mode removes the password. Switching to a narrower mode (PRIVATE, REGISTERED, ACCESS_KEY) takes effect for viewers who open the stream afterwards. Confirm a change of access mode or password with the user.
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>"
},
"name": "update_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | Price in USD; null clears it | |
| title | No | New title | |
| is_paid | No | true makes watching the stream paid (the DCAST player runs the paywall), false makes it free | |
| stream_id | Yes | Stream id | |
| access_key | No | The password viewers must enter. Send it with visibility ACCESS_KEY, or alone on a stream that is already ACCESS_KEY to change it. Refused for any other mode. | |
| visibility | No | Access mode; the five modes are listed in create_stream | |
| description | No | New description | |
| keep_recording | No | false: the recording is deleted when the broadcast ends; not while live. Confirm first. | |
| show_live_viewers | No | true: the player shows the watching-now count | |
| hide_live_seek_bar | No | true: no seek bar for viewers while live |