we had a somewhat similar requirement to retrieve metadata components from any specific managed package in a Salesforce org. Please follow the steps given in the below link. Hope it helps.
Retrieve list of components of any metadata type from a managed package