Skip to content
Everything *[NYC] 2026: see what we announced. →

Tool calling definition

Tool calling is the mechanism that lets a language model use software it cannot run itself. The application gives the model machine-readable descriptions of the functions it may use, and when the model judges one is needed it returns a structured request naming the tool and its arguments. Something else executes that request and returns the result to the model.


A diagram explaining Tool calling in terms of related concepts.

How does tool calling actually work, step by step?

What is the difference between tool calling and function calling?

Is tool calling the same as MCP?

How is tool calling different from an agent or from RAG?

Why does tool calling fail, and how is it measured?

What does a tool for AI agents look like in practice?

Discover More with Sanity

Now that you've learned about tool calling, why not start exploring what Sanity has to offer? Dive into our platform and see how it can support your content needs.

Last updated: