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)
186Arguments = JsonSerializer.Deserialize(mtcari.ToolArguments.ToMemory().Span, OpenAIJsonContext.Default.IReadOnlyDictionaryStringObject)!, 312Arguments = JsonSerializer.Deserialize(mtcari.ToolArguments.ToMemory().Span, OpenAIJsonContext.Default.IReadOnlyDictionaryStringObject)!, 870Arguments = 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)
667BinaryData.FromBytes(JsonSerializer.SerializeToUtf8Bytes(mcpApprovalRequestContent.ToolCall.Arguments!, OpenAIJsonContext.Default.IReadOnlyDictionaryStringObject))); 682BinaryData.FromBytes(JsonSerializer.SerializeToUtf8Bytes(associatedCall.Arguments!, OpenAIJsonContext.Default.IReadOnlyDictionaryStringObject)));
Microsoft.Extensions.AI.OpenAI.Tests (12)
OpenAIResponseClientTests.cs (12)
1067Assert.NotNull(firstCall.Arguments); 1068Assert.Single(firstCall.Arguments); 1069Assert.Equal("dotnet/extensions", ((JsonElement)firstCall.Arguments["repoName"]!).GetString()); 1080Assert.NotNull(secondCall.Arguments); 1081Assert.Equal("dotnet/extensions", ((JsonElement)secondCall.Arguments["repoName"]!).GetString()); 1082Assert.Equal("What is the path to the README.md file for Microsoft.Extensions.AI.Abstractions?", ((JsonElement)secondCall.Arguments["question"]!).GetString()); 1481Assert.NotNull(firstCall.Arguments); 1482Assert.Single(firstCall.Arguments); 1483Assert.Equal("dotnet/extensions", ((JsonElement)firstCall.Arguments["repoName"]!).GetString()); 1494Assert.NotNull(secondCall.Arguments); 1495Assert.Equal("dotnet/extensions", ((JsonElement)secondCall.Arguments["repoName"]!).GetString()); 1496Assert.Equal("What is the path to the README.md file for Microsoft.Extensions.AI.Abstractions?", ((JsonElement)secondCall.Arguments["question"]!).GetString());