listChannelCatalog
Retrieve a YouTube channel's recent video catalog in a compact format for creator analysis, including sorting options and content type filters.
Instructions
List a channel's recent catalog in compact creator-analysis shape.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channelIdOrHandleOrUrl | Yes | ||
| maxResults | No | ||
| sortBy | No | ||
| includeShorts | No | ||
| includeLongForm | No | ||
| publishedWithinDays | No | ||
| dryRun | No |
Implementation Reference
- src/server/mcp-server.ts:849-860 (handler)The handler in `mcp-server.ts` that maps the `listChannelCatalog` tool request to the `service.listChannelCatalog` method.
case "listChannelCatalog": return service.listChannelCatalog( { channelIdOrHandleOrUrl: readString(args, "channelIdOrHandleOrUrl"), maxResults: optionalNumber(args, "maxResults"), sortBy: optionalEnum(args, "sortBy", ["date_desc", "date_asc", "views_desc"]), includeShorts: optionalBoolean(args, "includeShorts"), includeLongForm: optionalBoolean(args, "includeLongForm"), publishedWithinDays: optionalNumber(args, "publishedWithinDays"), }, { dryRun }, ); - src/server/mcp-server.ts:67-83 (registration)The registration block for `listChannelCatalog` in the `tools` list in `mcp-server.ts`.
name: "listChannelCatalog", description: "List a channel's recent catalog in compact creator-analysis shape.", inputSchema: { type: "object", properties: { channelIdOrHandleOrUrl: { type: "string" }, maxResults: { type: "number", minimum: 1, maximum: 100 }, sortBy: { type: "string", enum: ["date_desc", "date_asc", "views_desc"] }, includeShorts: { type: "boolean" }, includeLongForm: { type: "boolean" }, publishedWithinDays: { type: "number", minimum: 1, maximum: 3650 }, dryRun: { type: "boolean" }, }, required: ["channelIdOrHandleOrUrl"], additionalProperties: false, }, },