Files
notes/resource/ai/大模型安装笔记/函数调用 和 工具调用.md
T
Docker7530 e4a339bd77 1774597379
2026-03-27 15:43:03 +08:00

8 lines
779 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
| 项目 | 函数调用(Function Calling | 工具调用(Tool Calling |
| ---------- | -------------------------- | ------------------ |
| 本质 | 模型输出“调用哪个函数、传什么参数” | 模型借助外部工具真正完成任务 |
| 关注点 | 函数名、参数格式、结构化输出 | 工具执行、结果返回、完整调用链 |
| 是否真的执行外部能力 | 不一定,只是表达调用意图 | 会,通常会真正调用外部系统 |
| 常见形式 | JSON 里的 `name + arguments` | 搜索、数据库、浏览器、MCP、插件等 |
| 和 MCP 的关系 | 常作为模型表达调用意图的格式 | 更贴近 MCP 的实际用途 |