interface Attachment {
    file_id?: string;
    tools?: (CodeInterpreterTool | OpenAIClient.Beta.Threads.Messages.MessageCreateParams.Attachment.FileSearch)[];
}

Properties

Properties

file_id?: string

The ID of the file to attach to the message.

The tools to add this file to.