Agents & tools · Glossary term

What is Function Calling?

A provider or application interface through which a model emits a structured request naming a tool and its arguments. Application code validates the request, performs the operation, and can return the result for another model step.

What people say

“A model using tools.”

What is the common confusion about Function Calling?

The model requests a function call; your trusted code decides whether and how to execute it. Function calling alone is not a complete agent.

Learn Function Calling in the course

Start with

  • Function Calling & Tool Use

    LLMs cannot do anything. They generate text. That is the entire capability. They cannot check the weather, query a database, send an email, run code, or read a file.

    Phase 11: LLM Engineering

Lessons that name Function Calling in a title or section

Taught in Phase 11: LLM Engineering.

Also covered in Phase 13: Tools & Protocols and Phase 14: Agent Engineering.

  • Structured OutputModel output constrained or validated against a machine-readable schema so application code can consume fields without parsing free-form…
  • Tool ContractThe complete agreement for a tool boundary: purpose, typed inputs, outputs, validation, permissions, side effects, errors, timeouts,…
  • AgentA software system that lets a model select actions toward a goal, observe tool or environment results, and continue under an orchestration…
  • MCP (Model Context Protocol)An open JSON-RPC protocol for a host to connect to servers that expose tools, resources, prompts, and extensions through defined request,…
  • ReActAn agent pattern that interleaves task reasoning, a concrete action, and an observation returned by the environment before deciding the…

More terms in Agents & tools

Open the Agents & tools list in the glossary

This entry comes from glossary/terms.md on GitHub. Browse all 250 glossary terms.