Search films by description
search_films_by_descriptionUse when the user describes a film's plot, scenes, mood or theme — or half-remembers a film — and wants matching titles. Works in English, Ukrainian, Russian and Polish (set language to the user's language). Put every explicit constraint the user stated into the structured fields — year_from, year_to, genres, exclude_genres, countries, include_documentaries, include_short_films, max_runtime_minutes, audience — and keep query for the plot, mood and texture only. Those fields are hard filters: a film outside them is never returned, so the answer may hold fewer films than limit, or none at all, and applied_filters says which filters were in force. Short films are excluded unless include_short_films is set. Each film carries its year, runtime, a one-line reason and its World of Cine link, which should be shown to the user.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_films_by_description"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many films to return. Defaults to 5. | |
| query | Yes | A natural-language description of the film the user wants. | |
| genres | No | Genre slugs the film must carry. A film carrying none of them is never returned. | |
| year_to | No | Latest release year, inclusive. Same year field. | |
| audience | No | Send 'children' for small children and 'family' for a film the whole family watches. Adult-flagged films, horror and thrillers are never returned under either. Under 'family' a film is returned only when it carries the family genre or a certification that is family-suitable in at least one major market, and never when any board rated it for adults (US R/NC-17/X, any 18-class rating). 'children' is stricter still: every stored certification must be child-rated, the film must carry the family or animation genre, and a film no board rated needs the family genre. A query naming children with no argument is read as 'children'. | |
| language | No | Answer language. Defaults to English. | |
| countries | No | ISO 3166-1 alpha-2 codes of the film's production countries — where the film was made, never the language of its title. | |
| year_from | No | Earliest release year, inclusive. The year is the catalogue's stored first-release year, which can differ by one from the year a Wikipedia article gives. | |
| exclude_genres | No | Genre slugs the film must not carry. One of them drops the film however many wanted genres it carries beside it. | |
| include_short_films | No | Whether short films — runtime under the connector's feature-length floor, currently 40 minutes — may be returned. False by default: set true only when the user explicitly asks for short films. A film whose runtime the catalogue does not know is always eligible. | |
| max_runtime_minutes | No | Longest runtime, in minutes, the film may have. A film whose runtime the catalogue does not know is not returned under this filter, since it cannot be verified to be under it. | |
| include_documentaries | No | Whether documentaries may be returned. False by default: ask for true only when the user wants documentaries. | |
| previous_recommendation_id | No | The recommendation_id of an earlier answer this call refines. The filters and text of that answer are kept and merged with this call's, so a refinement is a new search under the whole set of constraints, not a pick among the earlier films. |