IntelligenceX
Class

ToolRunResult

IntelligenceX.OpenAI.ToolCalling

Namespace
IntelligenceX.OpenAI.ToolCalling
Assembly
IntelligenceX
Modifiers
sealed

Result of a tool runner execution.

Inheritance

  • object
  • ToolRunResult

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Constructors

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

Initializes a new tool run result.

Parameters

finalTurn IntelligenceX.OpenAI.AppServer.Models.TurnInfo required
calls System.Collections.Generic.IReadOnlyList<IntelligenceX.Tools.ToolCall> required
outputs System.Collections.Generic.IReadOnlyList<IntelligenceX.Tools.ToolOutput> required

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.