The chatbot acts as the central orchestrator, deciding when to use external tools and how to process results before responding to users.