Nexus Learn

Log in · Create free account

Module 2: Tools and function calling · 8 min

What is a tool?

A tool is a normal function that your program offers to the model: search the web, read a database row, run a calculation, send an email, run a test.

On its own, a language model can only produce text. Tools let it get fresh facts, do exact maths and make changes. This also makes agents riskier, because tools can have real effects.

  • Read-only tools (search, look up) are low risk.
  • Write tools (send, delete, pay) are high risk and need extra care.
  • Fewer, clearer tools work better than many overlapping ones.
(free account needed to save progress)

← When an agent is the right choice  |  How function calling works →