Tell me how Agentic AI would have known to ask, “What time of day do orders come in?”

How does Agentic AI know how to ask the right questions?