Skip To Main Content
All modules

Movies

Fields marked * are required. Updates keep every field they are not given. An AI app can ask vritto_describe for the same details, filtered to what its connection may use.

Moviemovie

A movie in the user's library, with status and rating. The same operations reach its watch logs (type 'watch_log'), booked cinema showings (type 'showing', which become a watch after the show), and a person's recommendations and favorite or disliked movies (type 'recommendation' and 'taste').

movies_findFindthrough vritto_find

Read Movies: the library (query, status), watches in a period (type 'watch_log' with from/to), counts (view 'stats'), booked showings (type 'showing'), one person's links (personId), or one record by id.

Note: type 'watch_log' with from/to reads watches in a period; view 'stats' counts them by year and month; type 'showing' reads booked showings; personId reads one person's recommendations, shared watches and tastes.

FieldTypeDescription
typeone of record, watch_log, showingDefault 'record' (films).
idstringJust this record of the type.
viewone of list, stats'stats': watches by year and month, and ratings.
querystringMatches a saved film's title, overview, genres and tags.
statusone of want_to_watch, watching, watched, completed, dropped, on_hold
fromstringWatched on or after.
tostringWatched on or before. ALWAYS pass from/to when the question concerns a period.
yearstringWith view 'stats'.
mediaRecordIdstringOne film's watch logs or showings.
personIdstringA People ID: what they recommended, watched with the user, love or avoid.
scopeone of upcoming, to_rate, allShowings to list.
detailone of summary, full
limitinteger
cursorstring
Example input
{
  "status": "want_to_watch"
}
movies_addCreate or Updatethrough vritto_create or vritto_update

Add to Movies: a film by TMDB providerId (or a record), a watch of a saved film (type 'watch_log'), a booked showing (type 'showing'), or a person's recommendation or taste. An id there updates that record.

Note: Pass providerId from vritto_lookup (movie_catalog) to save with full details. type 'watch_log' logs a watch of a saved movie; type 'showing' books a cinema ticket, never a watch.

FieldTypeDescription
typeone of record, watch_log, showing, recommendation, taste'record' (default) a film; 'watch_log' a viewing; 'showing' a booked ticket, never a watch; 'recommendation'; 'taste' a person's favorite or disliked film.
providerIdstringA film's TMDB ID: saves it with full details.
statusone of want_to_watch, watching, watched, completed, dropped, on_holdWith providerId, for a new film.
mediaRecordIdstringA saved film to overwrite with record.
recordobjectA whole film; it replaces what is stored.
record.providerRef*object
record.title*string
record.originalTitlestring
record.overviewstring
record.releaseDatestring
record.runtimeMinutesnumber
record.genreslist of string
record.statusone of want_to_watch, watching, watched, completed, dropped, on_holdDefault want_to_watch.
record.ratingone of dislike, okay, like, love
record.journalNotesstring
record.recommendedByPersonIdslist of stringPeople who recommended it.
record.tagslist of string
watchLogIdstring
logobject
log.mediaRecordId*stringThe saved film's ID, from movies_find.
log.watchedOnstringOmit for the release date, marked as a default.
log.platformstringWhere, e.g. Netflix or AMC.
log.platformTypeone of theater, streaming, television, otherDefault theater.
log.platformServicestring
log.platformCountryone of US, IN
log.placeKeystringPlaces key of where it was watched.
log.locationLabelstring
log.watchedWithPersonIdslist of stringPeople the user watched with.
log.watchedWithNameslist of stringCompanions not in People.
log.notesstring
log.ratingone of dislike, okay, like, love
showingIdstring
showingobject
showing.mediaRecordIdstringThe saved film (required to book).
showing.localDatestring
showing.localTimestringHH:mm at the cinema.
showing.timeZonestring
showing.cinemaNamestring
showing.cinemaAddressstring
showing.placeKeystring
showing.seatslist of string
showing.ticketCountinteger
recommendationIdstring
recommendationobject
recommendation.mediaRecordId*string
recommendation.personId*stringThe recommender's People ID.
recommendation.statusone of open, accepted, dismissed, watched
recommendation.notestring
personTasteIdstring
personTasteobject
personTaste.personId*string
personTaste.providerRef*object
personTaste.taste*one of favorite, dislike
personTaste.notestring
Example input
{
  "providerId": "693134",
  "status": "want_to_watch"
}
movies_changeUpdatethrough vritto_update

Change one Movies record by id; sent fields merge. A film's status, rating (the user's own) or notes; a watch log's details; a showing's time, or its response to "How was it?".

Note: Sent fields merge into the stored record. A rating set on the movie is the user's own and wins over any watch's.

FieldTypeDescription
typeone of record, watch_log, showingDefault 'record' (a film).
idstring
recordobjectA film's fields to change; the rest stay.
record.statusone of want_to_watch, watching, watched, completed, dropped, on_hold
record.ratingone ofThe user's own rating; null clears it.
record.journalNotesstring
record.tagslist of string
record.recommendedByPersonIdslist of string
record.titlestring
logobjectA watch log's fields to change.
log.mediaRecordIdstringThe saved film's ID, from movies_find.
log.watchedOnstringOmit for the release date, marked as a default.
log.platformstringWhere, e.g. Netflix or AMC.
log.platformTypeone of theater, streaming, television, otherDefault theater.
log.platformServicestring
log.platformCountryone of US, IN
log.placeKeystringPlaces key of where it was watched.
log.locationLabelstring
log.watchedWithPersonIdslist of stringPeople the user watched with.
log.watchedWithNameslist of stringCompanions not in People.
log.notesstring
log.ratingone of dislike, okay, like, love
showingobjectA showing's new date, time or seats.
showing.mediaRecordIdstringThe saved film (required to book).
showing.localDatestring
showing.localTimestringHH:mm at the cinema.
showing.timeZonestring
showing.cinemaNamestring
showing.cinemaAddressstring
showing.placeKeystring
showing.seatslist of string
showing.ticketCountinteger
responseone of rate, didnt_go, went, dismissThe answer to "How was it?": rate, didnt_go (drops the watch, keeps the order), went (undoes didnt_go), dismiss.
ratingone ofWith response 'rate'.
withPersonIdslist of stringWith response 'rate': who came.
withNameslist of stringWith response 'rate'.
watchLogIdstringOlder name for id.
showingIdstringOlder name for id.
Example input
{
  "id": "movie_dune2",
  "record": {
    "rating": "love"
  }
}
movies_removeDeletethrough vritto_delete

Remove one film with its watch logs, one watch log, or one booked showing. Only for explicit removals.

Note: type 'watch_log' or 'showing' removes those instead; "I didn't go" is a movies_change of the showing.

FieldTypeDescription
typeone of record, watch_log, showingDefault 'record' (a film).
idstring
mediaRecordIdstringOlder name for id.
watchLogIdstringOlder name for id.
showingIdstringOlder name for id.

Movie Catalogmovie_catalog

TMDB reference data, for saving a movie with full details.

movies_discoverMoviesLook Upthrough vritto_lookup

Browse TMDB movie discovery lists (popular, now playing, upcoming, top rated) when the user wants suggestions rather than a title search.

FieldTypeDescription
categoryone of popular, now_playing, upcoming, top_ratedDiscovery list; defaults to "popular".
pageintegerTMDB result page, starting at 1.
movies_getMovieDetailsLook Upthrough vritto_lookup

Fetch full TMDB details (overview, runtime, genres, cast/crew) for one movie by TMDB ID.

FieldTypeDescription
providerId*stringTMDB movie ID (numeric string).
movies_searchMoviesLook Upthrough vritto_lookup

Search TMDB for movies by title; an empty query returns popular movies. Returns provider metadata, not the user's saved library: use movies_find for saved movies.

FieldTypeDescription
querystringSearch text. Omit to return popular movies.
pageintegerTMDB result page, starting at 1.