GitHub

ToolResultEncodingError

API reference for ToolResultEncodingError.

A tool's result could not be encoded for the model.

Attributes

AttributeTypeDescription
tool_namestr
tool_resultobject
descriptionstr
messagestr

Functions

__init__

__init__(tool_name, tool_result, description) -> None
ParameterTypeDescription
tool_namestr
tool_resultobject
descriptionstr