Represents a chunk of a tool message, which can be concatenated with other tool message chunks.
class ToolMessageChunkBaseMessageChunk<TStructure, "tool">Artifact of the Tool execution which is not meant to be sent to the model.
Should only be specified if it is different from the message content, e.g. if only a subset of the full tool output is being passed as message content but the full output is needed in other parts of the code.
Array of content blocks that make up the message content
Unique identifier for this message
A path to the module that contains the class, eg. ["langchain", "llms"] Usually should be the same as the entrypoint the class is exported from.
Metadata about the message
Status of the tool invocation.
The message type/role
The name of the serializable. Override to provide an alias or to preserve the serialized module name in minified environments.
Implemented as a static method to support loading logic.
Array of content blocks that make up the message content
Unique identifier for this message
A path to the module that contains the class, eg. ["langchain", "llms"]
Metadata about the message
The message type/role
The name of the serializable. Override to provide an alias or
Array of content blocks that make up the message content
Unique identifier for this message
A path to the module that contains the class, eg. ["langchain", "llms"]
Metadata about the message
The message type/role
The name of the serializable. Override to provide an alias or
A path to the module that contains the class, eg. ["langchain", "llms"]