ChatToolMessageContent - TypeScript SDK

ChatToolMessageContent type definition

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

Tool response content

Supported Types

string

1const value: string = "The weather in San Francisco is 72°F and sunny.";

models.ChatContentItems[]

1const value: models.ChatContentItems[] = [
2 {
3 text: "Hello, world!",
4 type: "text",
5 },
6];