What is tool calling?

Tool calling lets a model ask your application to run a function instead of answering in text. You describe the available tools and their parameters; the model returns the tool name and arguments as structured data; your code runs the tool and sends the result back so the model can continue.

Also called: Function calling · Last updated

What it enables

Tool calling is how models search the web, query databases, edit files, and act inside agents. The model never executes anything itself: your application decides whether and how to run each call.

Support varies

Not every model supports tools, and providers differ in which tool choice modes they accept. The model directory can be filtered to models that support tool calling.

Learn more

Related terms