Ploba logo

Find the right AI tool for the job: apps, agents, APIs, MCP servers and datasets, explained plainly.

Get the AI Digest

Discover

  • Explore
  • Top Charts
  • Categories
  • Agents
  • MCP servers
  • Developer tools

Learn & community

  • Learn AI
  • AI Glossary
  • Blog
  • Hackathons
  • People
  • AI Digest

For makers

  • List your tool
  • Docs
  • Claim a listing
  • Advertise
  • Write for us

Company

  • About
  • Careers
  • Changelog
  • Trust
  • Security
  • Contact

© 2026 Ploba. All rights reserved.

  • Privacy
  • Terms
  • Cookies
  • Advertising
  • All policies
llms.txt
AI glossary
Agents

Function Calling

The ability of an AI model to produce structured arguments that exactly match a declared function or schema.

What is Function Calling?

Function calling is a technical capability provided by many modern AI models that allows them to reliably output structured data (typically JSON) designed to trigger external code. You provide the AI with a description of the functions available to it. If the AI decides a function is needed to answer the prompt, it outputs the exact arguments required.

How does it work?

A developer tells the AI: "I have a function called get_weather(location)." The user asks: "Is it raining in London?" The AI realizes it doesn't know the current weather, so instead of generating a text response, it outputs a JSON object: {"name": "get_weather", "arguments": {"location": "London"}}. The developer's software runs the function and feeds the result back to the AI.

What is it commonly confused with?

Function calling and Tool Calling are often used interchangeably, but there is a sensible distinction. Function calling specifically describes the model's technical ability to produce structured arguments matching a declared schema. Tool calling is the broader software pattern in which an AI system selects and requests those external capabilities.

Why does it matter?

Language models are trapped in the past by their training data cutoff and cannot interact with the outside world. Function calling provides a reliable, mathematically structured bridge between the probabilistic AI model and the deterministic, rigid APIs of traditional software.

Category
Agents
Last reviewed
Sep 21, 2026

Sources

  • OpenAI: Function calling

Related terms

  • AgentsTool CallingThe broader pattern in which an AI system autonomously selects and requests external software capabilities.
  • DevelopmentApplication Programming InterfaceA set of rules that allows different software applications to communicate with each other.
  • AgentsAI AgentAn AI system that can autonomously plan and execute actions using tools to achieve a goal.
  • DevelopmentStructured OutputGetting an AI model to answer in a fixed, machine-readable format, usually JSON that matches a schema, instead of free text.

Read more on Learn

All articles
  • Illustration of AI connecting to different tools like puzzle piecesAI Concepts · Aug 27, 2026What Is Function Calling? AI Tool Calling ExplainedLearn what function calling (or tool calling) is, how it allows AI models to take real-world actions, and why it is the backbone of modern AI agents.
  • Glass spheres linked by glowing lines, like apps connected through one protocolAI Concepts · Jul 9, 2026MCP 101: Model Context Protocol Explained for Non-TechnicalA plain-English guide to how MCP helps AI applications connect to tools, data, and business systems.
  • Illustration of an AI robot working at a deskAI Concepts · Aug 20, 2026What Is an AI Agent? A Beginner-Friendly ExplanationLearn what an AI agent is, how it differs from a standard chatbot like ChatGPT, and how agents use tools to take action in the real world.