get_tv_schedule
Pack: movies · Endpoint: https://gateway.pipeworx.io/movies/mcp
Check what’s broadcasting on a specific date and country (e.g., ‘US’, ‘GB’). Returns shows, times, and channels.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
country | string | no | ISO 3166-1 alpha-2 country code (default “US”) |
date | string | no | Date in YYYY-MM-DD format (default: today) |
Example call
Arguments
{
"country": "US"
}
curl
curl -X POST https://gateway.pipeworx.io/movies/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_tv_schedule","arguments":{"country":"US"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_tv_schedule', {
"country": "US"
});
More examples
{
"country": "GB",
"date": "2024-01-15"
}
Response shape
Always returns: country, date, total_airings, schedule
| Field | Type | Description |
|---|---|---|
country | string | ISO 3166-1 alpha-2 country code |
date | string | Schedule date in YYYY-MM-DD format |
total_airings | number | Total number of airings on this date |
schedule | array |
Full JSON Schema
{
"type": "object",
"properties": {
"country": {
"type": "string",
"description": "ISO 3166-1 alpha-2 country code"
},
"date": {
"type": "string",
"description": "Schedule date in YYYY-MM-DD format"
},
"total_airings": {
"type": "number",
"description": "Total number of airings on this date"
},
"schedule": {
"type": "array",
"items": {
"type": "object",
"properties": {
"airtime": {
"type": [
"string",
"null"
],
"description": "Air time in HH:MM format"
},
"show_name": {
"type": [
"string",
"null"
],
"description": "Name of the show"
},
"network": {
"type": [
"string",
"null"
],
"description": "Network or web channel name"
},
"episode_name": {
"type": "string",
"description": "Episode name"
},
"season": {
"type": "number",
"description": "Season number"
},
"episode": {
"type": [
"number",
"null"
],
"description": "Episode number in season"
},
"runtime_minutes": {
"type": [
"number",
"null"
],
"description": "Episode runtime in minutes"
}
},
"required": [
"airtime",
"show_name",
"network",
"episode_name",
"season",
"episode",
"runtime_minutes"
]
}
}
},
"required": [
"country",
"date",
"total_airings",
"schedule"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"movies": {
"url": "https://gateway.pipeworx.io/movies/mcp"
}
}
}
See Getting Started for client-specific install steps.