ChatRequestToolMessage interface

A request chat message representing requested output from a configured tool.

Extends

Properties

content

The content of the message.

role

The chat role associated with this message, which is always 'tool' for tool messages.

toolCallId

The ID of the tool call resolved by the provided content.

Property Details

content

The content of the message.

content: null | string

Property Value

null | string

role

The chat role associated with this message, which is always 'tool' for tool messages.

role: "tool"

Property Value

"tool"

toolCallId

The ID of the tool call resolved by the provided content.

toolCallId: string

Property Value

string