4 writes to Arguments
Microsoft.Extensions.AI.Abstractions.Tests (1)
Contents\McpServerToolCallContentTests.cs (1)
44c.Arguments = args;
Microsoft.Extensions.AI.OpenAI (3)
OpenAIResponsesChatClient.cs (3)
169Arguments = JsonSerializer.Deserialize(mtcari.ToolArguments.ToMemory().Span, OpenAIJsonContext.Default.IReadOnlyDictionaryStringObject)!, 293Arguments = JsonSerializer.Deserialize(mtcari.ToolArguments.ToMemory().Span, OpenAIJsonContext.Default.IReadOnlyDictionaryStringObject)!, 850Arguments = JsonSerializer.Deserialize(mtci.ToolArguments.ToMemory().Span, OpenAIJsonContext.Default.IReadOnlyDictionaryStringObject)!,
17 references to Arguments
Microsoft.Extensions.AI.Abstractions.Tests (3)
Contents\McpServerToolCallContentTests.cs (3)
24Assert.Null(c.Arguments); 42Assert.Null(c.Arguments); 45Assert.Same(args, c.Arguments);
Microsoft.Extensions.AI.OpenAI (2)
OpenAIResponsesChatClient.cs (2)
647BinaryData.FromBytes(JsonSerializer.SerializeToUtf8Bytes(mcpApprovalRequestContent.ToolCall.Arguments!, OpenAIJsonContext.Default.IReadOnlyDictionaryStringObject))); 662BinaryData.FromBytes(JsonSerializer.SerializeToUtf8Bytes(associatedCall.Arguments!, OpenAIJsonContext.Default.IReadOnlyDictionaryStringObject)));
Microsoft.Extensions.AI.OpenAI.Tests (12)
OpenAIResponseClientTests.cs (12)
1062Assert.NotNull(firstCall.Arguments); 1063Assert.Single(firstCall.Arguments); 1064Assert.Equal("dotnet/extensions", ((JsonElement)firstCall.Arguments["repoName"]!).GetString()); 1075Assert.NotNull(secondCall.Arguments); 1076Assert.Equal("dotnet/extensions", ((JsonElement)secondCall.Arguments["repoName"]!).GetString()); 1077Assert.Equal("What is the path to the README.md file for Microsoft.Extensions.AI.Abstractions?", ((JsonElement)secondCall.Arguments["question"]!).GetString()); 1476Assert.NotNull(firstCall.Arguments); 1477Assert.Single(firstCall.Arguments); 1478Assert.Equal("dotnet/extensions", ((JsonElement)firstCall.Arguments["repoName"]!).GetString()); 1489Assert.NotNull(secondCall.Arguments); 1490Assert.Equal("dotnet/extensions", ((JsonElement)secondCall.Arguments["repoName"]!).GetString()); 1491Assert.Equal("What is the path to the README.md file for Microsoft.Extensions.AI.Abstractions?", ((JsonElement)secondCall.Arguments["question"]!).GetString());