# ToolRunResult

Result of a tool runner execution. Review signatures, members, parameters, type relationships, and available reference details in IntelligenceX API Reference.

Class 

`IntelligenceX.OpenAI.ToolCalling`

**Namespace**

`IntelligenceX.OpenAI.ToolCalling`

**Assembly**

`IntelligenceX`

**Source**

[ToolRunner.cs:150](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/ToolCalling/ToolRunner.cs#L150)

**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

- Method [ToolRunner.RunAsync](/api/intelligencex-openai-toolcalling-toolrunner/#method-runasync-intelligencex-openai-intelligencexclient-intelligencex-openai-chat-chatinput-intelligencex-openai-chat-chatoptions-intelligencex-tools-toolregistry-intelligencex-openai-toolcalling-toolrunneroptions-threading-cancellationtoken)

Filter members 

Show inherited

## Constructors

`public ToolRunResult(TurnInfo finalTurn, IReadOnlyList<ToolCall> calls, IReadOnlyList<ToolOutput> outputs)` [#](#constructor-ctor-intelligencex-openai-appserver-models-turninfo-collections-generic-ireadonlylist-intelligencex-tools-toolcall-collections-generic-ireadonlylist-intelligencex-tools-tooloutput)

[ToolRunner.cs:150](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/ToolCalling/ToolRunner.cs#L150)

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**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public TurnInfo FinalTurn { get; }` [#](#property-finalturn)

[ToolRunner.cs:159](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/ToolCalling/ToolRunner.cs#L159)

Gets the final turn returned by the model.

`public IReadOnlyList<ToolCall> ToolCalls { get; }` [#](#property-toolcalls)

[ToolRunner.cs:163](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/ToolCalling/ToolRunner.cs#L163)

Gets all tool calls executed during the run.

`public IReadOnlyList<ToolOutput> ToolOutputs { get; }` [#](#property-tooloutputs)

[ToolRunner.cs:167](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/ToolCalling/ToolRunner.cs#L167)

Gets all tool outputs returned to the model.

<!-- PowerForge markdown artifact sha256:9390A3552FC321D1A19C108D3AE5021796B26DCFB8D1162A82ACE43569411C25 -->
