Return to Article Details Tool Modality Selection for Large Language Model Agents: An Empirical Evaluation of API-Based Retrieval and Browser Automation for Latency, Cost, and Reliability Optimization Download Download PDF