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.

tool_call_id

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"

tool_call_id

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

tool_call_id: string

Property Value

string