# Tool calling

Canonical page: https://www.theglitch.ai/ai-glossary/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.](https://www.theglitch.ai/images/cards/glossary/tool-calling.png?v=8fda7afbe3cad5d8)

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](https://www.theglitch.ai/ai-glossary/agent) · [Model Context Protocol](https://www.theglitch.ai/ai-glossary/model-context-protocol) · [Structured output](https://www.theglitch.ai/ai-glossary/structured-output)

## Try it here

[Explore repos and ideas](https://www.theglitch.ai/repos)

## Guides that use it

[AI agents, minus the hype.](https://www.theglitch.ai/learn/ai-agents) · [Build your first agent, the boring way.](https://www.theglitch.ai/learn/first-agent) · [Open-source AI agents worth trying in 2027.](https://www.theglitch.ai/learn/open-source-ai-agents) · [MCP servers worth installing in 2027.](https://www.theglitch.ai/learn/mcp-servers-2027) · [How to add WebMCP to your website: a step-by-step tutorial with code](https://www.theglitch.ai/learn/webmcp-tutorial) · [What is WebMCP? How it works and why it matters for AI agents and your company](https://www.theglitch.ai/learn/webmcp)

## Sources

- [Google: Function calling](https://ai.google.dev/gemini-api/docs/function-calling)

Definition updated 2026-10-29.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
