主办方:收场
end_live_session登录;先get_organizer_live核对场次,必须获用户明确确认立即结束。不可逆:观众直播间立即关闭,同场不能重开,再播须新建。已结束重调no-op。稍后读hasRecord核回放;录制回调延迟,刚结束false非未录制。
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": {
"activityRef": "<activityRef>",
"liveId": "<liveId>"
},
"name": "end_live_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| liveId | Yes | 直播场次 id,来自 get_organizer_live | |
| activityRef | Yes | 活动 slug 或 id(get_activity / get_signup_activity 两者都给) |