AI AgentsIntermediate29 July 2026
When should an AI agent call a tool instead of answering only from the language model?
Pick an answer to see the explanation.
Answer
When the task requires current, external, private, or executable information
An agent should use a tool when the task depends on information or actions the model cannot reliably provide from its internal knowledge. Examples include checking a live database, reading a private document, calling an API, calculating precisely, or performing an authorised action.
Learn more: Build your first practical AI agent →