CustomToolCallOutputItemOutputUnion1 - TypeScript SDK

CustomToolCallOutputItemOutputUnion1 type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Supported Types

models.InputText

1const value: models.InputText = {
2 text: "Hello, how can I help you?",
3 type: "input_text",
4};

models.CustomToolCallOutputItemOutputInputImage

1const value: models.CustomToolCallOutputItemOutputInputImage = {
2 detail: "auto",
3 type: "input_image",
4};

models.InputFile

1const value: models.InputFile = {
2 type: "input_file",
3};