list_topic_lives
Retrieve AI-processed live streams from a knowledge base to access completed content for review or analysis.
Instructions
获取知识库中已完成且 AI 已处理的直播列表。需要 topic.live.read scope。
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic_id | Yes | 知识库 ID(alias id) | |
| page | No | 页码,从 1 开始,默认 1 |
Implementation Reference
- src/client.ts:306-312 (handler)The logic that executes the API request for list_topic_lives.
async listTopicLives(params: { topic_id: string; page?: number }) { return this.request<ListTopicLivesResp>( "GET", "/resource/knowledge/lives", { topic_id: params.topic_id, page: params.page } ); } - src/index.ts:450-466 (registration)The tool definition/registration for list_topic_lives.
{ name: "list_topic_lives", description: "获取知识库中已完成且 AI 已处理的直播列表。需要 topic.live.read scope。", inputSchema: { type: "object" as const, properties: { topic_id: { type: "string", description: "知识库 ID(alias id)", }, page: { type: "number", description: "页码,从 1 开始,默认 1", }, }, required: ["topic_id"], - src/index.ts:698-703 (handler)The MCP handler case that calls the client method listTopicLives.
case "list_topic_lives": { return client.listTopicLives({ topic_id: input.topic_id as string, page: input.page as number | undefined, }); } - src/client.ts:614-617 (schema)The response schema interface for ListTopicLives.
export interface ListTopicLivesResp { lives: LiveItem[]; has_more: boolean; total: number;