# What Is Tool Calling? How LLMs and AI Agents Take Action

DevFeed: [What Is Tool Calling? How LLMs and AI Agents Take Action](<https://devfeed.tech/articles/what-is-tool-calling-how-llms-and-ai-agents-take-action-145886.md>)

Original publisher: [Read original article](<https://montecarlo.ai/blog-what-is-tool-calling>)

Author: Virna Sekuj

Published: 2026-11-19T16:58:24Z

Content type: article

Language: en

Sources: [Monte Carlo](<https://devfeed.tech/sources/monte-carlo.md>)

Topics: [function calling](<https://devfeed.tech/topics/function-calling.md>), [Multi-step AI processes](<https://devfeed.tech/topics/multi-step-ai-processes.md>), [LLM observability](<https://devfeed.tech/topics/llm-observability.md>), [API](<https://devfeed.tech/topics/api.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [2023](<https://devfeed.tech/tags/2023.md>), [2026](<https://devfeed.tech/tags/2026.md>), [actions](<https://devfeed.tech/tags/actions.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-behavior](<https://devfeed.tech/tags/agent-behavior.md>), [agent-frameworks](<https://devfeed.tech/tags/agent-frameworks.md>), [agent-trust](<https://devfeed.tech/tags/agent-trust.md>), [agent-trust-glossary](<https://devfeed.tech/tags/agent-trust-glossary.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [api](<https://devfeed.tech/tags/api.md>), [database](<https://devfeed.tech/tags/database.md>), [function](<https://devfeed.tech/tags/function.md>), [function-calling](<https://devfeed.tech/tags/function-calling.md>), [glossary](<https://devfeed.tech/tags/glossary.md>), [large-language-model](<https://devfeed.tech/tags/large-language-model.md>), [llm-tool-calling](<https://devfeed.tech/tags/llm-tool-calling.md>), [llms](<https://devfeed.tech/tags/llms.md>), [querying](<https://devfeed.tech/tags/querying.md>), [searching](<https://devfeed.tech/tags/searching.md>), [structured](<https://devfeed.tech/tags/structured.md>), [tool-calling](<https://devfeed.tech/tags/tool-calling.md>), [tool-calling-examples](<https://devfeed.tech/tags/tool-calling-examples.md>), [tool-calling-vs-mcp](<https://devfeed.tech/tags/tool-calling-vs-mcp.md>), [tool-use-ai-agents](<https://devfeed.tech/tags/tool-use-ai-agents.md>), [uses](<https://devfeed.tech/tags/uses.md>)

## AI overview

Tool calling lets an LLM request an action by returning a structured tool name and arguments; the application validates and executes the request, sends back the result, and the model uses it to answer or make another call. Function calling and tool use are alternate names for the same mechanism. MCP standardizes how compatible applications discover and connect to tools; it builds on tool calling rather than replacing it. Calls can fail through wrong tool choice, bad arguments, skipped checks, retries, mishandled errors, changed responses, or unintended access, often without obvious errors. The text recommends tracing each call and its result, validating arguments and permissions before execution, watching for unexpected patterns and loops, tracking cost and latency, monitoring the underlying data, and limiting or requiring approval for high-impact actions.

## Source excerpt

Tool calling, also called function calling, is how a large language model asks an application to run a function, such as querying a database, calling an API, or searching documents, and then uses the result in its answer. The model doesn't run the tool itself. It produces a structured request naming the tool and its arguments, the application executes it, and the result goes back to the model.