Query a Metadata Agent from Channel plugin

Hi.
I develop a Channel plugin in which I want to query some Metadata Agent (for ex., com.plexapp.agents.themoviedb) and receive a metadata suitable for using with, say, VideoClipObject.
Is this possible? If yes, how?
Referring me to docs and/or examples would be much appreciated as well. :smile:

Any ideas?

Hi! This is not possible, but you can always query The Movie Database API yourself.

i know agents can call other agents like:
tvdb_id = Core.messaging.call_external_function('com.plexapp.agents.themoviedb', 'MessageKit:GetTvdbId', kwargs = dict(tmdb_id = media.primary_metadata.id))
source: https://github.com/plexinc-agents/PlexThemeMusic.bundle/blob/master/Contents/Code/init.py

you can always copy code from the agent you want to get info from the API itself since all is in python…