Change default name casing of McpServerXx.Create tools/prompts/resources (#568)
This commit is contained in:
parent
4e290f8de9
commit
4411f1ce5e
1 changed files with 104 additions and 49 deletions
|
|
@ -25,7 +25,7 @@ public partial class McpServerScopedTests : ClientServerTestBase
|
|||
await using IMcpClient client = await CreateMcpClientForServer();
|
||||
|
||||
var tools = await client.ListToolsAsync(McpServerScopedTestsJsonContext.Default.Options, TestContext.Current.CancellationToken);
|
||||
var tool = tools.First(t => t.Name == nameof(EchoTool.EchoComplex));
|
||||
var tool = tools.First(t => t.Name == "echo_complex");
|
||||
Assert.DoesNotContain("\"complex\"", JsonSerializer.Serialize(tool.JsonSchema, McpJsonUtilities.DefaultOptions));
|
||||
|
||||
int startingConstructed = ComplexObject.Constructed;
|
||||
|
|
|
|||
Loading…
Reference in a new issue