Creating Tools
摘要
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.