interface Attachment {
    file_id?: string;
    tools?: (CodeInterpreterTool | AssistantToolsFileSearchTypeOnly)[];
}

Properties

Properties

file_id?: string

The ID of the file to attach to the message.

The tools to add this file to.