The definition of a tool message.

interface TextChatMessagesTextChatMessageTool {
    content: string;
    role: string;
    tool_call_id: string;
}

Hierarchy (view full)

Properties

content: string

The contents of the tool message.

role: string

The role of the messages author.

tool_call_id: string

Tool call that this message is responding to.