Real tasks often need more than one tool. A support assistant may look up an order, check shipping status, inspect the refund policy, and draft a reply. A travel assistant may search flights, compare hotels, check weather, and convert prices. The hard part is not getting the model to call a function once. The hard part is coordinating several calls without losing control.
Multi-tool orchestration is the code that coordinates those calls. Some calls are independent and can run at the same time. Some depend on earlier results and must run in order. Some should stop the workflow and ask the user for clarification. Some should be blocked by policy.
In this chapter, you will build orchestration loops that handle parallel calls, sequential chains, fallbacks, result aggregation, and stopping conditions.