Stop a stream
stop_streamEnds an active radio playback session started with play_station, notifies connected players that playback ended, disconnects them, and invalidates the session's WebSocket URL.
Instructions
Stop a playback session started with play_station: connected players receive {type:"ended"} and are disconnected, and the wsUrl stops working.
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": {
"sessionId": "<sessionId>"
},
"name": "stop_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | sessionId returned by play_station |