错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Creating Tools

  • Gerald Versluis

摘要

If resources are the eyes of your MCP server, then tools are its hands. They let an AI model reach out and actually do something in the world: run a calculation, query a database, place an order, or even scan a galaxy for anomalies (we will get to that one, I promise). In Chapter 4, you built your first MCP server and registered a simple tool. Now it is time to dig into the details and understand everything the C# MCP SDK offers when it comes to creating tools.