PromptForge
AI Glossary

Agents & tools

Tool use

Also known as: tools, tool calling

Definition

Tool use is a model invoking external capabilities — search, code execution, database queries, APIs — to do things it cannot do from parameters alone, such as fetching current data or performing exact arithmetic.

Tools address the structural limits of a language model. Models cannot know today's data, cannot reliably perform precise arithmetic, and cannot affect the world. Tools supply all three.

The pattern is always the same: the model emits a structured request, your code executes it, and the result returns to the conversation. The model never executes anything directly, which is where your validation boundary belongs.

Tool descriptions are effectively prompts and deserve the same care. Models select tools based on their descriptions, so ambiguous descriptions cause wrong selections — a very common source of agent failure.

Related terms

Put this into practice

Understanding the term is step one. Our free courses and tools let you actually use it.