[KongchangAI]
ConceptFunction Calling

Function Call

Function Calling is a mechanism enabling structured interaction between large language models and external tools or systems. During inference, the model identifies user intent and generates standardized function call requests containing function names and parameters; external systems execute these calls and return results to the model, which then produces the final response. This mechanism equips language models with the ability to access real-time data, perform computations, and invoke APIs, and is a core technology for building agents and tool-augmented applications.

Core Facts

Timeline (last 90 days)

Oct 11

callSkill essentially follows the Function Call pattern; there is a Tool method called callSkill in the application that determines which Markdown file to read based on the Skill's name.

Unverified50%
Sep 30

LangChain provides a mechanism called Function Call that allows developers to invoke tools to obtain data that the model itself cannot access.

Unverified50%
Sep 27

During inference, large models read tool metadata as context and use semantic understanding to determine whether a tool needs to be called and what parameters to pass, a process known as Function Calling or Tool Use.

Verified65%

All Facts (13)

Verified

Function Call is a capability introduced by OpenAI in June 2023 with the GPT-3.5/GPT-4 API update, allowing developers to define JSON Schema descriptions of functions in API requests.

80%
Verified

Function Calling机制中,开发者将工具的名称、功能描述、参数Schema(通常为JSON Schema格式)注入到模型的请求中,模型输出结构化的JSON而非自然语言来调用工具

80%
Verified

Agent的核心公式为:Agent = 大模型 + 工具调用 + 自主决策能力

80%
Verified

During inference, large models read tool metadata as context and use semantic understanding to determine whether a tool needs to be called and what parameters to pass, a process known as Function Calling or Tool Use.

65%
Verified

The Skill feature can only be used with large models that support Function Call.

65%
Verified

MCP and OpenAI's Function Calling serve different roles: Function Calling is a temporary convention at the model level, while MCP is a persistent communication protocol at the application layer.

65%
Unverified

每个Function Call必须有对应的Function Call Output,且两者的call_id必须完全一致,否则OpenAI API会拒绝请求并返回错误

95%
Unverified

Claude Code和Aider等成熟AI Agent都使用了Function Call机制而非纯提示词方案

85%
Unverified

Function Call通过JSON Schema定义工具,能让大模型以接近100%的准确率生成合法的工具调用请求

70%
Unverified

Function Call将工具定义从自然语言层面提升到API结构化层面,从根本上解决了大模型幻觉导致的格式不遵循问题

70%
Unverified

The Skill module of Spring AI Agent Utils is implemented based on Function Call, does not depend on a specific large model, and can run on different models such as GPT-4, Claude, and Qwen.

60%
Unverified

callSkill essentially follows the Function Call pattern; there is a Tool method called callSkill in the application that determines which Markdown file to read based on the Skill's name.

50%
Unverified

LangChain provides a mechanism called Function Call that allows developers to invoke tools to obtain data that the model itself cannot access.

50%

Source Articles