File size: 11,800 Bytes
6660737
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113ecf4
6660737
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
tools = [
    {
        "type": "function",
        "function": {
            "name": "discover_movie",
            "description": "Find movies using over 30 filters and sort options",
            "parameters": {
                "type": "object",
                "properties": {
                    "region": {
                        "type": "string",
                        "description": "ISO 3166-1 code to filter release dates",
                    },
                    "sort_by": {
                        "type": "string",
                        "description": "Sort the results",
                    },
                    "certification_country": {
                        "type": "string",
                        "description": "Used in conjunction with the certification filter",
                    },
                    "certification": {
                        "type": "string",
                        "description": "Filter results with a valid certification from the certification_country",
                    },
                    "certification.lte": {
                        "type": "string",
                        "description": "Filter and only include movies that have a certification that is less than or equal to the specified value",
                    },
                    "certification.gte": {
                        "type": "string",
                        "description": "Filter and only include movies that have a certification that is greater than or equal to the specified value",
                    },
                    "include_adult": {
                        "type": "boolean",
                        "description": "Choose whether to include adult (pornography) content in the results",
                    },
                    "include_video": {
                        "type": "boolean",
                        "description": "Choose whether to include videos in the results",
                    },
                    "page": {
                        "type": "integer",
                        "description": "Specify which page to query",
                    },
                    "primary_release_year": {
                        "type": "integer",
                        "description": "Filter the results to only include movies that have a primary release year that equals the specified value",
                    },
                    "primary_release_date.gte": {
                        "type": "string",
                        "description": "Filter and only include movies that have a primary release date that is greater or equal to the specified value",
                    },
                    "primary_release_date.lte": {
                        "type": "string",
                        "description": "Filter and only include movies that have a primary release date that is less than or equal to the specified value",
                    },
                    "release_date.gte": {
                        "type": "string",
                        "description": "Filter and only include movies that have a release date (looking at all release dates) that is greater or equal to the specified value",
                    },
                    "release_date.lte": {
                        "type": "string",
                        "description": "Filter and only include movies that have a release date (looking at all release dates) that is less than or equal to the specified value",
                    },
                    "with_release_type": {
                        "type": "integer",
                        "description": "Specify a comma (AND) or pipe (OR) separated value to filter release types",
                    },
                    "year": {
                        "type": "integer",
                        "description": "Filter the results to only include movies that have a release year that equals the specified value",
                    },
                    "vote_count.gte": {
                        "type": "integer",
                        "description": "Filter and only include movies that have a vote count that is greater or equal to the specified value",
                    },
                    "vote_count.lte": {
                        "type": "integer",
                        "description": "Filter and only include movies that have a vote count that is less than or equal to the specified value",
                    },
                    "vote_average.gte": {
                        "type": "number",
                        "description": "Filter and only include movies that have a rating that is greater or equal to the specified value",
                    },
                    "vote_average.lte": {
                        "type": "number",
                        "description": "Filter and only include movies that have a rating that is less than or equal to the specified value",
                    },
                    "with_cast": {
                        "type": "string",
                        "description": "A comma separated list of person ID's to filter the results with",
                    },
                    "with_crew": {
                        "type": "string",
                        "description": "A comma separated list of person ID's to filter the results with",
                    },
                    "with_people": {
                        "type": "string",
                        "description": "A comma separated list of person ID's to filter the results with",
                    },
                    "with_companies": {
                        "type": "string",
                        "description": "A comma separated list of production company ID's to filter the results with",
                    },
                    "with_genres": {
                        "type": "string",
                        "description": "A comma separated list of genre ID's to filter the results with",
                    },
                    "without_genres": {
                        "type": "string",
                        "description": "A comma separated list of genre ID's to exclude from the results",
                    },
                    "with_keywords": {
                        "type": "string",
                        "description": "A comma separated list of keyword ID's to filter the results with",
                    },
                    "without_keywords": {
                        "type": "string",
                        "description": "A comma separated list of keyword ID's to exclude from the results",
                    },
                    "with_runtime.gte": {
                        "type": "integer",
                        "description": "Filter and only include movies that have a runtime that is greater or equal to the specified value",
                    },
                    "with_runtime.lte": {
                        "type": "integer",
                        "description": "Filter and only include movies that have a runtime that is less than or equal to the specified value",
                    },
                    "with_original_language": {
                        "type": "string",
                        "description": "Specify an ISO 639-1 string to filter results by their original language value",
                    },
                    "with_watch_providers": {
                        "type": "string",
                        "description": "A comma or pipe separated list of watch provider ID's to filter the results with",
                    },
                    "watch_region": {
                        "type": "string",
                        "description": "An ISO 3166-1 code to filter the watch provider results",
                    },
                    "with_watch_monetization_types": {
                        "type": "string",
                        "description": "Filter the results by monetization type",
                    },
                    "without_companies": {
                        "type": "string",
                        "description": "A comma separated list of production company ID's to filter the results with",
                    },
                },
                "required": [],
            },
        },
    },
    {
        "type": "function",
        "function": {
            "name": "get_movie_details",
            "description": "Get the top level details of a movie by ID",
            "parameters": {
                "type": "object",
                "properties": {
                    "movie_id": {
                        "type": "integer",
                        "description": "The ID of the movie to get details for",
                    },
                    "append_to_response": {
                        "type": "string",
                        "description": "Comma-separated list of sub requests to append to the response",
                    },
                },
                "required": ["movie_id"],
            },
        },
    },
    {
        "type": "function",
        "function": {
            "name": "search_person",
            "description": "Search for people in the entertainment industry.",
            "parameters": {
                "type": "object",
                "properties": {
                    "query": {
                        "type": "string",
                        "description": "The search query for the person"
                    },
                    "include_adult": {
                        "type": "boolean",
                        "description": "Include adult (pornography) content in the results",
                        "default": False
                    },
                    "language": {
                        "type": "string",
                        "description": "Language for the search results",
                        "default": "en-US"
                    },
                    "page": {
                        "type": "integer",
                        "description": "Page number of results",
                        "default": 1
                    }
                },
                "required": ["query"]
            }
        }
    },
    {
        "type": "function",
        "function": {
            "name": "get_person_details",
            "description": "Get detailed information about a specific person.",
            "parameters": {
                "type": "object",
                "properties": {
                    "person_id": {
                        "type": "integer",
                        "description": "The ID of the person to get details for"
                    },
                    "language": {
                        "type": "string",
                        "description": "Language for the person details",
                        "default": "en-US"
                    },
                    "append_to_response": {
                        "type": "string",
                        "description": "Comma-separated list of additional details to append to the response (e.g., 'images,credits')"
                    }
                },
                "required": ["person_id"]
            }
        }
    },
    {
        "type": "function",
        "function": {
            "name": "get_movie_genres",
            "description": "Get the list of official genres for movies.",
            "parameters": {
                "type": "object",
                "properties": {
                    "language": {
                        "type": "string",
                        "description": "Language for the genre names",
                        "default": "en-US"
                    }
                }
            }
        }
    }
]