# ToolOutput

Represents the output for a tool call.

Class 

`IntelligenceX.Tools`

**Namespace**

`IntelligenceX.Tools`

**Assembly**

`IntelligenceX`

**Source**

[ToolOutput.cs:12](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolOutput.cs#L12)

**Modifiers**

sealed

Represents the output for a tool call.

## Inheritance

- object
- ToolOutput

## Usage

Explore 2 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

- Property [ToolRunResult.ToolOutputs](/api/intelligencex-openai-toolcalling-toolrunresult/#property-tooloutputs)

### Accepted by parameters 1

- Constructor [ToolRunResult.ToolRunResult](/api/intelligencex-openai-toolcalling-toolrunresult/#constructor-ctor-intelligencex-openai-appserver-models-turninfo-collections-generic-ireadonlylist-intelligencex-tools-toolcall-collections-generic-ireadonlylist-intelligencex-tools-tooloutput) parameter `outputs`

Filter members 

Show inherited

## Constructors

`public ToolOutput(string callId, string output)` [#](#constructor-ctor-string-string)

[ToolOutput.cs:12](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolOutput.cs#L12)

Initializes a new tool output instance.

Parameters

**callId string required**

**output string 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 string CallId { get; }` [#](#property-callid)

[ToolOutput.cs:23](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolOutput.cs#L23)

Gets the call id this output belongs to.

`public string Output { get; }` [#](#property-output)

[ToolOutput.cs:27](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolOutput.cs#L27)

Gets the output text.

<!-- PowerForge markdown artifact sha256:E8AD4ECD53E50F510024FA96C1DB9CAE295F4C45181B5DDF8BD709756E0BDC32 -->
