14 references to ToolCallContent
Microsoft.Extensions.AI.Abstractions (5)
Contents\CodeInterpreterToolCallContent.cs (1)
22: base(callId)
Contents\FunctionCallContent.cs (1)
27: base(callId)
Contents\ImageGenerationToolCallContent.cs (1)
16: base(callId)
Contents\McpServerToolCallContent.cs (1)
35: base(Throw.IfNullOrWhitespace(callId))
Contents\WebSearchToolCallContent.cs (1)
22: base(callId)
Microsoft.Extensions.AI.Abstractions.Tests (4)
Contents\ToolCallContentTests.cs (3)
16ToolCallContent c = new("callId1"); 26Assert.Throws<ArgumentNullException>("callId", () => new ToolCallContent(null!)); 32ToolCallContent c = new("callId1");
Utilities\AIJsonUtilitiesTests.cs (1)
1928: base("callId")
Microsoft.Extensions.AI.OpenAI (5)
OpenAIResponsesChatClient.cs (5)
292message.Contents.Add(new ToolCallContent(outputItem.Id)); 297message.Contents.Add(new ToolCallContent(computerCall.CallId) { RawRepresentation = computerCall }); 305message.Contents.Add(new ToolCallContent(patchCall.CallId) { RawRepresentation = patchCall }); 620var toolCallUpdate = CreateUpdate(new ToolCallContent(outputItemDoneUpdate.Item.Id)); 626yield return CreateUpdate(new ToolCallContent(computerCall.CallId) { RawRepresentation = outputItemDoneUpdate.Item });