Source: Preliminary findings from the JetBrains Developer Ecosystem Survey 2026 • 15,000+ developers worldwide

{
"name": "get_order_status",
"description": "Retrieve the current status of a customer order.",
"parameters": {
"type": "object",
"properties": {
"order_id": {
"type": "string",
"description": "Unique identifier for the order, for example ORD-10482"
}
},
"required": ["order_id"]
}
}{
"name": "get_order_status",
"arguments": { "order_id": "ORD-10482" }
}Dimension
Traditional prompting
Function calling
Execution
Suggests code or steps
Executes actions directly
Tool access
None, text output only
APIs, databases, and other external systems
Workflow continuity
Runtime validation
Operational complexity
Single-turn responses
Multistep, stateful execution loops
No built-in validation
Parameters validated before execution
Lower
Higher, requires schemas, permissions, and error handling
A prompt returns text that someone still has to act on, whether that is code to run or steps to follow by hand. Function calling removes that handoff: The agent invokes the action itself, reads the result, and decides what to do next. When a task runs across several tools, and each step depends on the last result, that closed loop is what lets the work finish without a person relaying every output.
Three factors drive reliability. Schema quality comes first: Well-described parameters with clear types and concrete examples reduce hallucinated or malformed calls. Error handling comes second: Workflows that return structured error observations rather than failing silently give agents the context to correct and retry. Bounded execution comes third: Hard limits on retry counts, execution time, and action scope prevent runaway loops and limit the blast radius when something goes wrong.
The Model Context Protocol (MCP) is an open standard for connecting AI applications to external tools and data sources. Function calling is a mechanism through which models request structured actions, while MCP standardizes how applications discover and interact with tools exposed by MCP servers. The two can work together: an agent can discover tools through MCP and invoke them as part of its function-calling workflow.
Yes. Function calling works with any executable action the runtime exposes, including local file reads, terminal command execution, in-process database queries, and IDE operations. External APIs are common targets but not required. For example, a coding agent working with a JetBrains IDE can use tools to read source files, run tests, inspect Git history, or execute terminal commands without requiring an external API for each action.
The terms are often used interchangeably, but they refer to different layers. Function calling is the API-level mechanism where the model generates a structured call to a defined function. Tool use is the broader concept covering any capability an agent can invoke, including function calls, API requests, browser interactions, or code execution. Function calling is the primary implementation mechanism for tool use in modern agent frameworks like LangChain and LlamaIndex.
Damaso Sanoja is an engineer who is passionate about helping others make data-driven decisions to achieve their goals. This has motivated him to write numerous articles on the most popular relational databases, customer relationship management systems, enterprise resource planning systems, master data management tools, and, more recently, data warehouse systems used for machine learning and AI projects. You can blame this fixation on data management on his first computer being a Commodore 64 without a floppy disk.
Explore JetBrains AI solutions that help you build, use, and scale AI agents across the software development lifecycle.
Run terminal agents through one JetBrains account, with access, models, and usage governed centrally.
Plan, code, debug, and automate tasks with a coding agent that works across your terminal, IDE, GitHub, and GitLab.
Orchestrate AI agents and verify their output directly in JetBrains IDEs, with full control over how changes are reviewed.
Automate software delivery workflows, coordinate agentic work across teams, identify bottlenecks affecting delivery.
Govern AI usage, models, policies, and costs across your organization, including JetBrains and third-party tools.
Give agents shared organizational memory and context that carries across tools, workflows, and execution environments.
An open system of AI products for developers, teams, and organizations – from coding with agents to automating workflows and governing AI at scale.
Continue Exploring the AI Agents for Developers Guide
Learn what Model Context Protocol (MCP) is, how it connects AI agents with external tools and data, and why it matters for developers.
Explains AI agent skills, how they extend agent capabilities, and how developers use reusable skills to build more capable and reliable workflows.
Learn how to manage AI agent context windows, reduce context loss, and improve performance, accuracy, and reliability in long-running workflows.