12 instantiations of McpServerToolCallContent
Microsoft.Extensions.AI.Abstractions.Tests (9)
Contents\McpServerToolCallContentTests.cs (6)
15McpServerToolCallContent c = new("callId1", "toolName", null);
29McpServerToolCallContent c = new("callId1", "toolName", "serverName");
54Assert.Throws<ArgumentException>("callId", () => new McpServerToolCallContent(string.Empty, "name", null));
55Assert.Throws<ArgumentException>("toolName", () => new McpServerToolCallContent("callId1", string.Empty, null));
57Assert.Throws<ArgumentNullException>("callId", () => new McpServerToolCallContent(null!, "name", null));
58Assert.Throws<ArgumentNullException>("toolName", () => new McpServerToolCallContent("callId1", null!, null));
Microsoft.Extensions.AI.OpenAI (3)
22 references to McpServerToolCallContent
Microsoft.Extensions.AI.Abstractions (5)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Microsoft.Extensions.AI.OpenAI (2)
Microsoft.Extensions.AI.OpenAI.Tests (13)