Building with AI
Tool Calling
Definition
Tool calling allows a model to request a specific operation and provide its inputs, such as a search query. The application validates the request, applies permissions and executes an allowed operation, then can return the result to the model.
Why it matters
It separates generating text from requesting an action or retrieving information. A proposed tool call is not proof that an action was permitted or completed; validation, approval and error handling still matter.
Example
Hypothetical example: an assistant requests a search of approved procedures. The application checks access, runs the search and returns relevant passages for a draft answer.
Related Ai MindUp
AI Integrations