Look into Multi Agentic System's this specific scenario you are describing require MAS and cant really be executed using 1 agent only, so for each of the API Call's setup a separate Agent (or you can use 1 and make it reusable), but that the easiest way you can go about it.
Multi Agentic System Resources:
AutoGen MAS: