Table of Contents

Class FunctionToolCallOutput

Namespace
OpenAI.Responses
Assembly
OpenAI-DotNet.dll
public class FunctionToolCallOutput : BaseResponse, IResponseItem, IServerSentEvent, IListItem
Inheritance
FunctionToolCallOutput
Implements
Derived
Inherited Members

Constructors

FunctionToolCallOutput()

public FunctionToolCallOutput()

FunctionToolCallOutput(FunctionToolCall, string)

public FunctionToolCallOutput(FunctionToolCall toolCall, string output)

Parameters

toolCall FunctionToolCall
output string

FunctionToolCallOutput(string, string)

public FunctionToolCallOutput(string callId, string output)

Parameters

callId string
output string

Properties

CallId

The unique ID of the function tool call generated by the model.

[JsonInclude]
[JsonPropertyName("call_id")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string CallId { get; }

Property Value

string

Id

The unique ID of this response item.

[JsonInclude]
[JsonPropertyName("id")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Id { get; }

Property Value

string

Object

[JsonInclude]
[JsonPropertyName("object")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Object { get; }

Property Value

string

Output

A JSON string of the output of the function tool call.

[JsonInclude]
[JsonPropertyName("output")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Output { get; }

Property Value

string

Status

The status of the response item.

[JsonInclude]
[JsonPropertyName("status")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ResponseStatus Status { get; }

Property Value

ResponseStatus

Type

[JsonInclude]
[JsonPropertyName("type")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
public ResponseItemType Type { get; }

Property Value

ResponseItemType

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.