GitHub

ToolMessage

API reference for ToolMessage.

The result of a tool call as a message; error is present when it failed.

Attributes

AttributeTypeDescription
roleLiteral['tool']
contentContent
toolCallIdstr
errorNotRequired[str]
encryptedValueNotRequired[str]