lamp.
ResourcesPricingAbout

Tool calling

Tool calling is the ability of an AI agent to use outside tools, such as a search, calculator, database query or message sender, to fetch facts or take actions.

What it means

A model on its own can only produce text. Tool calling gives it hands: it can ask for a customer's balance, calculate a total exactly, or send a draft for approval. Each tool has set inputs and limits. The agent chooses which tool to call and with what values; the surrounding system checks and runs it. The set of tools is also the set of things that can go wrong.

Example

A cold-storage operator's agent uses a stock tool to check chamber 3 occupancy, a calendar tool to find a free slot, and an email tool to draft a booking confirmation for the customer to approve.

Records and checks

  • Record every tool call with its inputs, result and triggering task.
  • Verify that tools able to change records or send messages need approval or tight limits.
  • The system owner reviews the tool list and removes unneeded tools.

Common mistakes

  • Giving the agent a general-purpose tool that can do far more than the task requires.
  • Not checking tool results, so one bad lookup flows into later steps.
Did not find your answer?Message the lamp team on WhatsApp. Ask about setup, your records, or anything we have not covered here.Ask us on WhatsApp →