Fix sample in README (#136)
This commit is contained in:
parent
62e92fa154
commit
f55302b449
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ var client = await McpClientFactory.CreateAsync(new()
|
||||||
});
|
});
|
||||||
|
|
||||||
// Print the list of tools available from the server.
|
// Print the list of tools available from the server.
|
||||||
await foreach (var tool in client.ListToolsAsync())
|
foreach (var tool in await client.ListToolsAsync())
|
||||||
{
|
{
|
||||||
Console.WriteLine($"{tool.Name} ({tool.Description})");
|
Console.WriteLine($"{tool.Name} ({tool.Description})");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue