711
Dictionary

Function Calling

The API mechanism that lets a model request a tool call.

1 min readupdated 2026-07-04

/ quick answer

Function calling exposes typed function signatures to the model; the model returns a structured call the runtime executes. The primitive underlying every agent framework. The API mechanism that lets a model request a tool call.

The API mechanism that lets a model request a tool call. Function calling exposes typed function signatures to the model; the model returns a structured call the runtime executes. The primitive underlying every agent framework. In practice: Passing tools: [{ name: 'get_weather', parameters: { city: 'string' } }] to the API.
Definition
Function calling exposes typed function signatures to the model; the model returns a structured call the runtime executes. The primitive underlying every agent framework.
Example
Passing tools: [{ name: 'get_weather', parameters: { city: 'string' } }] to the API.
Related Tool Stacks

/ frequently asked

What is Function Calling?

Function calling exposes typed function signatures to the model; the model returns a structured call the runtime executes. The primitive underlying every agent framework.

What is an example of Function Calling?

Passing tools: [{ name: 'get_weather', parameters: { city: 'string' } }] to the API.

Why does Function Calling matter?

The API mechanism that lets a model request a tool call.

What should I learn after Function Calling?

Open the related workflows and prompts further down this page: they show how this idea is applied in a real task, step by step.

/ topics#ai#agents

/ continue exploring

Related concepts

The vocabulary this page depends on.

  • →MCP (Model Context Protocol)

    Open protocol that lets LLMs connect to tools, data sources and apps through a standard interface.

  • →Agentic RAG

    RAG where an agent decides what to retrieve, when, and from which source — instead of a single static query.

  • →Agentic Workflow

    A workflow where an LLM decides the next step instead of a hard-coded path.

  • →Tool Use

    An LLM invoking external functions to act beyond text generation.

all dictionary →

Related workflows

Turn this into a repeatable process.

all workflows →

Related tool stacks

The tools that run it in production.

all tool stacks →

Comparisons & alternatives

Pick between the options.

all comparisons →