Correct 'McpTool' to 'McpServerTool' in README (#775)
This commit is contained in:
parent
15d1271212
commit
fe2ce2bc60
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ var response = await chatClient.GetResponseAsync(
|
|||
Here is an example of how to create an MCP server and register all tools from the current application.
|
||||
It includes a simple echo tool as an example (this is included in the same file here for easy of copy and paste, but it needn't be in the same file...
|
||||
the employed overload of `WithTools` examines the current assembly for classes with the `McpServerToolType` attribute, and registers all methods with the
|
||||
`McpTool` attribute as tools.)
|
||||
`McpServerTool` attribute as tools.)
|
||||
|
||||
```
|
||||
dotnet add package ModelContextProtocol --prerelease
|
||||
|
|
|
|||
Loading…
Reference in a new issue