Class CustomToolCallOutput
public sealed class CustomToolCallOutput : BaseResponse, IResponseItem, IServerSentEvent, IListItem
- Inheritance
-
CustomToolCallOutput
- Implements
- Inherited Members
Constructors
CustomToolCallOutput()
public CustomToolCallOutput()
CustomToolCallOutput(CustomToolCall, string)
public CustomToolCallOutput(CustomToolCall toolCall, string output)
Parameters
toolCallCustomToolCalloutputstring
CustomToolCallOutput(string, string)
public CustomToolCallOutput(string callId, string output)
Parameters
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
Id
The unique ID of this response item.
[JsonInclude]
[JsonPropertyName("id")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Id { get; }
Property Value
Object
[JsonInclude]
[JsonPropertyName("object")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Object { get; }
Property Value
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
Status
The status of the response item.
[JsonInclude]
[JsonPropertyName("status")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ResponseStatus Status { get; }
Property Value
Type
[JsonInclude]
[JsonPropertyName("type")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
public ResponseItemType Type { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.