Table of Contents

Class FileSearchToolCall

Namespace
OpenAI.Responses
Assembly
OpenAI-DotNet.dll

The results of a file search tool call.

public sealed class FileSearchToolCall : BaseResponse, IResponseItem, IServerSentEvent, IListItem
Inheritance
FileSearchToolCall
Implements
Inherited Members

Properties

Id

The unique ID of this response item.

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

Property Value

string

Object

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

Property Value

string

Queries

The queries used to search for files.

[JsonInclude]
[JsonPropertyName("queries")]
public IReadOnlyList<string> Queries { get; }

Property Value

IReadOnlyList<string>

Results

The results of the file search tool call.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("results")]
public IReadOnlyList<FileSearchResult> Results { get; }

Property Value

IReadOnlyList<FileSearchResult>

Status

The status of the response item.

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

Property Value

ResponseStatus

Type

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

Property Value

ResponseItemType