Find by external id
find_by_external_idLook up movie, TV, or person records by an external ID such as IMDb, Kinopoisk, or Wikidata when you lack an amodb numeric ID, then pass the matching result to retrieval tools.
Instructions
Look up a movie, TV show or person by an id from another system, when you do not have the amodb numeric id. Typical use: the user gives an IMDb id such as tt0137523 (titles) or nm0000093 (people), a Kinopoisk id (digits), or a Wikidata id (Q followed by digits). Returns movie_results, tv_results and person_results, each item with a media_type; take the id from the matching list and pass it to get_movie, get_tv_show or get_person. The result also has tv_episode_results and tv_season_results, which are always empty. A missing or unknown external_source, or a malformed id, is an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| external_id | Yes | The id to look up, for example tt0137523, 361 or Q35332. | |
| external_source | Yes | Which id system external_id belongs to: imdb_id for ids that start with tt or nm, kinopoisk_id for Kinopoisk digits, wikidata_id for Q ids, tvdb_id, facebook_id, twitter_id or instagram_id. The other values (freebase_mid, freebase_id, tvrage_id, tiktok_id, youtube_id) are accepted but return nothing. |