Table of Contents

Class CustomToolCall

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

Properties

Arguments

[JsonIgnore]
public JsonNode Arguments { get; }

Property Value

JsonNode

CallId

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

[JsonInclude]
[JsonPropertyName("call_id")]
public string CallId { get; }

Property Value

string

Delta

[JsonIgnore]
public string Delta { 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

Input

The input for the custom tool call generated by the model.

[JsonInclude]
[JsonPropertyName("input")]
public string Input { get; }

Property Value

string

Name

The name of the function to run.

[JsonInclude]
[JsonPropertyName("name")]
public string Name { get; }

Property Value

string

Object

[JsonInclude]
[JsonPropertyName("object")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Object { 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