Class FunctionToolCallOutput
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
FunctionToolCalloutput
string
FunctionToolCallOutput(string, string)
public FunctionToolCallOutput(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.