Nythrex

Glossary · Definition

Tool calling

Tool calling (function calling) lets a language model request that your code run a defined function — such as “look up order” — with structured arguments.

By Nythrex EngineeringUpdated 1 min read

In plain words

You describe available tools to the model with names, descriptions and argument types. When useful, the model responds with a request to call one; your code validates the arguments, runs the function and returns the result. The model never touches your systems directly.

When it matters to you

  • Connecting AI to live data or actions
  • Building agents
  • Getting structured, validated outputs

Common pitfalls

  • Not validating arguments server-side
  • Tools that are too generic
  • Trusting tool results that contain untrusted content

Want a second opinion on your project?

Tell us what you’re building and where you’re stuck. We’ll reply within one business day with the most practical next step — even if that step isn’t us.

Start a project