tv_airing_today
Find TV shows currently airing today to get timely viewing recommendations and discover what's on television right now.
Instructions
Retrieves TV series airing today. Input: page (optional), language (optional ISO 639-1), timezone (optional). Output: JSON with paginated results. Purpose: Discover TV shows currently airing for timely recommendations by AI agents.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | ||
| page | No | ||
| timezone | No |
Implementation Reference
- mcp-tmdb-server.js:719-722 (handler)The handler function fetches TV shows airing today from the TMDB API endpoint '/tv/airing_today' using the tmdbFetch helper, with optional parameters for page, language, and timezone, and returns the data as a formatted JSON text content block.handler: async ({page, language, timezone}) => { const data = await tmdbFetch('/tv/airing_today', {page, language, timezone}); return {content: [{type: 'text', text: JSON.stringify(data, null, 2)}]}; }
- mcp-tmdb-server.js:714-718 (schema)Input schema defining optional parameters: page (number >=1), language (string), timezone (string). No additional properties allowed.inputSchema: { type: "object", properties: {page: {type: "number", minimum: 1}, language: {type: "string"}, timezone: {type: "string"}}, additionalProperties: false },
- mcp-tmdb-server.js:711-723 (registration)The complete tool definition object added to the 'tools' array, which is used by the MCP server's ListToolsRequestHandler to expose the tool and by CallToolRequestHandler to dispatch calls to the handler based on name.{ name: "tv_airing_today", description: "Retrieves TV series airing today. Input: page (optional), language (optional ISO 639-1), timezone (optional). Output: JSON with paginated results. Purpose: Discover TV shows currently airing for timely recommendations by AI agents.", inputSchema: { type: "object", properties: {page: {type: "number", minimum: 1}, language: {type: "string"}, timezone: {type: "string"}}, additionalProperties: false }, handler: async ({page, language, timezone}) => { const data = await tmdbFetch('/tv/airing_today', {page, language, timezone}); return {content: [{type: 'text', text: JSON.stringify(data, null, 2)}]}; } },