<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Function Calling on 编程心语</title>
		<link>https://www.ithome.me/tags/function-calling/</link>
		<description>Recent content in Function Calling on 编程心语</description>
		<generator>Hugo</generator>
		<language>zh-CN</language>
		
		
		
		
			<lastBuildDate>Tue, 04 Aug 2026 14:59:27 +0800</lastBuildDate>
		
			<atom:link href="https://www.ithome.me/tags/function-calling/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>MCP 实战：把你的本地服务变成 AI Agent 的工具</title>
				<link>https://www.ithome.me/post/2026/08/06/mcp-practical-guide/</link>
				<pubDate>Thu, 06 Aug 2026 08:00:00 +0800</pubDate>
				<guid>https://www.ithome.me/post/2026/08/06/mcp-practical-guide/</guid>
				<description>&lt;h2 id=&#34;为什么-agent-需要-mcp&#34;&gt;为什么 Agent 需要 MCP？&lt;/h2&gt;&#xA;&lt;p&gt;想象你是老板，想雇一个全能的 AI 助手帮你管服务器。问题来了：助手很聪明，但&lt;strong&gt;不会开服务器&lt;/strong&gt;——它看不到你的服务，也没法操作。&lt;/p&gt;&#xA;&lt;p&gt;MCP（Model Context Protocol）就是&lt;strong&gt;给 AI 装上手&lt;/strong&gt;的标准协议：把本地服务的 API 包装成 AI 能看懂、能调用的工具列表。2025 年 Anthropic 开源后，已经成为 Agent 生态的事实标准。&lt;/p&gt;</description>
			</item>
			<item>
				<title>工具调用机制：Function Calling实战</title>
				<link>https://www.ithome.me/post/2026/07/05/ai%E6%99%BA%E8%83%BD%E4%BD%93%E5%BC%80%E5%8F%91-%E7%AC%AC5%E7%AB%A0-%E5%B7%A5%E5%85%B7%E8%B0%83%E7%94%A8%E6%9C%BA%E5%88%B6/</link>
				<pubDate>Sun, 05 Jul 2026 08:00:00 +0800</pubDate>
				<guid>https://www.ithome.me/post/2026/07/05/ai%E6%99%BA%E8%83%BD%E4%BD%93%E5%BC%80%E5%8F%91-%E7%AC%AC5%E7%AB%A0-%E5%B7%A5%E5%85%B7%E8%B0%83%E7%94%A8%E6%9C%BA%E5%88%B6/</guid>
				<description>&lt;h2 id=&#34;1-引言为什么agent需要工具&#34;&gt;1. 引言：为什么Agent需要工具&lt;/h2&gt;&#xA;&lt;p&gt;想象你聘了一位&amp;quot;过目不忘&amp;quot;的私人助理——他读过人类有史以来几乎所有的书，知识渊博、口才了得。可是你让他&amp;quot;查一下今天上海的天气&amp;quot;，他却只能凭记忆猜一个数；你让他&amp;quot;算一下 1234 × 5678&amp;quot;，他大概率会算错。原因很简单：他没有手机、没有计算器、没有联网能力，再聪明的脑子也巧妇难为无米之炊。&lt;/p&gt;</description>
			</item>
			<item>
				<title>Function Calling实战：让AI大模型学会使用工具</title>
				<link>https://www.ithome.me/post/2026/06/15/function-calling%E5%AE%9E%E6%88%98%E8%AE%A9ai%E5%A4%A7%E6%A8%A1%E5%9E%8B%E5%AD%A6%E4%BC%9A%E4%BD%BF%E7%94%A8%E5%B7%A5%E5%85%B7/</link>
				<pubDate>Mon, 15 Jun 2026 08:00:00 +0800</pubDate>
				<guid>https://www.ithome.me/post/2026/06/15/function-calling%E5%AE%9E%E6%88%98%E8%AE%A9ai%E5%A4%A7%E6%A8%A1%E5%9E%8B%E5%AD%A6%E4%BC%9A%E4%BD%BF%E7%94%A8%E5%B7%A5%E5%85%B7/</guid>
				<description>&lt;h1 id=&#34;function-calling实战让ai大模型学会使用工具&#34;&gt;Function Calling实战：让AI大模型学会使用工具&lt;/h1&gt;&#xA;&lt;p&gt;大语言模型（LLM）的核心能力是&lt;strong&gt;理解和生成文本&lt;/strong&gt;，但它本身并不能直接调用API、查询数据库或操作文件系统。Function Calling（函数调用）是连接大模型与外部世界的桥梁——它让模型能够&amp;quot;告诉&amp;quot;你的代码&amp;quot;我需要调用这个函数&amp;quot;，然后由你的代码执行实际操作并把结果返回给模型。&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
