# ToolCallParser

Helper for extracting tool calls from a turn response.

Class 

`IntelligenceX.OpenAI.ToolCalling`

**Namespace**

`IntelligenceX.OpenAI.ToolCalling`

**Assembly**

`IntelligenceX`

**Source**

[ToolCallParser.cs:21](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/ToolCalling/ToolCallParser.cs#L21)

**Modifiers**

static

Helper for extracting tool calls from a turn response.

## Inheritance

- object
- ToolCallParser

Filter members 

Show inherited

## Methods

`public static IReadOnlyList<ToolCall> Extract(TurnInfo turn)` [#](#method-extract-intelligencex-openai-appserver-models-turninfo)

[ToolCallParser.cs:21](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/ToolCalling/ToolCallParser.cs#L21)

Extracts tool calls from a turn.

Parameters

**turn IntelligenceX.OpenAI.AppServer.Models.TurnInfo required**

Turn info.

Returns

`IReadOnlyList<ToolCall>`

## 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?`

<!-- PowerForge markdown artifact sha256:49161A2867945EC3AA4978F3CB4166D121A4D89C90A6CD81E726ACA575F66C5C -->
