IntelligenceX
Class

ToolRunResult

Namespace IntelligenceX.OpenAI.Tools
Assembly IntelligenceX
Modifiers sealed

Result of a tool runner execution.

Inheritance

  • Object
  • ToolRunResult

Constructors

public ToolRunResult(TurnInfo finalTurn, IReadOnlyList<ToolCall> calls, IReadOnlyList<ToolOutput> outputs) #

Initializes a new tool run result.

Parameters

finalTurn IntelligenceX.OpenAI.AppServer.Models.TurnInfo
calls System.Collections.Generic.IReadOnlyList{IntelligenceX.OpenAI.Tools.ToolCall}
outputs System.Collections.Generic.IReadOnlyList{IntelligenceX.OpenAI.Tools.ToolOutput}

Properties

public TurnInfo FinalTurn { get; } #

Gets the final turn returned by the model.

public IReadOnlyList<ToolCall> ToolCalls { get; } #

Gets all tool calls executed during the run.

public IReadOnlyList<ToolOutput> ToolOutputs { get; } #

Gets all tool outputs returned to the model.