Tool calling

A model requests a named external operation with arguments. The application validates and executes it, then returns the result.

Tool calling, common card #233 in The Glitch AI glossary: A model requests a named external operation with arguments. The application validates and executes it, then returns the result.
GLS 233 · common

Also called: Function calling, Tool use.

For: Builders

Why it matters

Tool calling is how models search, book, calculate and update real systems instead of only producing text.

In practice

The model requests a repository’s metadata; an API supplies it.

Watch for

A request to call a tool is not proof the action happened. Check execution results and enforce permissions in code.

Related terms

Agent · Model Context Protocol · Structured output

Try it here

Explore repos and ideas

Guides that use it

AI agents, minus the hype. · Build your first agent, the boring way. · Open-source AI agents worth trying in 2027. · MCP servers worth installing in 2027. · How to add WebMCP to your website: a step-by-step tutorial with code · What is WebMCP? How it works and why it matters for AI agents and your company

Sources

Definition updated 2026-10-29.

The Ultimate AI Glossary (2027): every term