Skip To Main Content
All modules

Games

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.

Gamegame

A game in the user's library, with status and rating. The same operations reach its play sessions (type 'play_log') and a person's recommendations and favorite or disliked games (type 'recommendation' and 'taste').

games_findFindthrough vritto_find

Read Games: the library (query, status), play sessions in a period (type 'play_log' with from/to), counts (view 'stats'), one person's links (personId), or one record by id.

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

FieldTypeDescription
typeone of record, play_logDefault 'record' (games).
idstringJust this record of the type.
viewone of list, stats'stats': sessions by year and month, and ratings.
querystringMatches a saved game's title, overview, genres and tags.
statusone of want_to_play, playing, beaten, completed, on_hold, dropped
fromstringPlayed on or after.
tostringPlayed on or before. ALWAYS pass from/to when the question concerns a period.
yearstringWith view 'stats'.
mediaRecordIdstringOne game's play logs.
personIdstringA People ID: what they recommended, played with the user, love or avoid.
detailone of summary, full
limitinteger
cursorstring
Example input
{
  "status": "playing"
}
games_addCreate or Updatethrough vritto_create or vritto_update

Add to Games: a game by IGDB providerId (or a record), a play session of a saved game (type 'play_log'), or a person's recommendation or taste. An id there updates that record.

Note: Pass providerId from vritto_lookup (game_catalog) to save with full details. type 'play_log' logs a session of a saved game.

FieldTypeDescription
typeone of record, play_log, recommendation, taste'record' (default) a game; 'play_log' a play session; 'recommendation'; 'taste' a person's favorite or disliked game.
providerIdstringA game's IGDB ID: saves it with full details.
statusone of want_to_play, playing, beaten, completed, on_hold, droppedWith providerId, for a new game.
mediaRecordIdstringA saved game to overwrite with record.
recordobjectA whole game; it replaces what is stored.
record.providerRef*object
record.title*string
record.originalTitlestring
record.overviewstring
record.releaseDatestring
record.genreslist of string
record.storylinestring
record.platformsAvailablelist of string
record.developerslist of string
record.publisherslist of string
record.gameModeslist of string
record.playerPerspectiveslist of string
record.themeslist of string
record.keywordslist of string
record.franchiseslist of string
record.serieslist of string
record.timeToBeatobject
record.startedOnstring
record.finishedOnstring
record.platformPlayedstring
record.replayCountinteger
record.metacriticinteger
record.igdbRatinginteger
record.statusone of want_to_play, playing, beaten, completed, on_hold, droppedDefault want_to_play.
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 game's ID, from games_find.
log.watchedOnstringPlay date; omit for the release date, marked as a default.
log.platformstringWhere, e.g. PS5 or Steam Deck.
log.platformTypeone of pc, playstation, xbox, nintendo, mobile, handheld, other
log.platformServicestring
log.hoursPlayednumber
log.platformCountryone of US, IN
log.placeKeystring
log.locationLabelstring
log.watchedWithPersonIdslist of stringPeople the user played with.
log.notesstring
log.ratingone of dislike, okay, like, love
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": "119133",
  "status": "playing"
}
games_changeUpdatethrough vritto_update

Change one Games record by id; sent fields merge. A game's status (beaten, completed, dropped), rating (the user's own) or notes; a play session's details.

Note: Sent fields merge into the stored record. A rating set on the game is the user's own.

FieldTypeDescription
typeone of record, play_logDefault 'record' (a game).
idstring
recordobjectA game's fields to change; the rest stay.
record.statusone of want_to_play, playing, beaten, completed, on_hold, dropped
record.ratingone ofThe user's own rating; null clears it.
record.journalNotesstring
record.tagslist of string
record.platformPlayedstring
record.startedOnstring
record.finishedOnstring
record.replayCountinteger
record.recommendedByPersonIdslist of string
record.titlestring
logobjectA play session's fields to change.
log.mediaRecordIdstringThe saved game's ID, from games_find.
log.watchedOnstringPlay date; omit for the release date, marked as a default.
log.platformstringWhere, e.g. PS5 or Steam Deck.
log.platformTypeone of pc, playstation, xbox, nintendo, mobile, handheld, other
log.platformServicestring
log.hoursPlayednumber
log.platformCountryone of US, IN
log.placeKeystring
log.locationLabelstring
log.watchedWithPersonIdslist of stringPeople the user played with.
log.notesstring
log.ratingone of dislike, okay, like, love
watchLogIdstringOlder name for id.
Example input
{
  "id": "game_elden",
  "record": {
    "status": "beaten"
  }
}
games_removeDeletethrough vritto_delete

Remove one game with its play logs, or one play session (type 'play_log'). Only for explicit removals.

Note: type 'play_log' removes one session instead.

FieldTypeDescription
typeone of record, play_logDefault 'record' (a game).
idstring
mediaRecordIdstringOlder name for id.
watchLogIdstringOlder name for id.

Game Cataloggame_catalog

IGDB reference data, for saving a game with full details.

games_discoverGamesLook Upthrough vritto_lookup

Browse IGDB discovery lists (popular, new releases, upcoming, top rated) when the user wants suggestions rather than a title search.

FieldTypeDescription
categoryone of popular, new_releases, upcoming, top_ratedDiscovery list; defaults to "popular".
games_getGameDetailsLook Upthrough vritto_lookup

Fetch full IGDB details (summary, genres, platforms, developers, publishers, ratings) for one game by IGDB ID.

FieldTypeDescription
providerId*stringIGDB game ID (numeric string).
games_searchGamesLook Upthrough vritto_lookup

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

FieldTypeDescription
querystringSearch text. Omit to return popular games.