Tool Message chunk.
ToolMessageChunk(
self,
content: str | list[str | dict] | None = None,
content_blocks: list[types.ContentBlock] | None = None,
**kwargs: Any = {}
)Tool call that this message is responding to.
Artifact of the Tool execution which is not meant to be sent to the model.
Status of the tool invocation.
Currently inherited from BaseMessage, but not used.
Currently inherited from BaseMessage, but not used.
The contents of the message.
Reserved for additional payload data associated with the message.
Examples: response headers, logprobs, token counts, model name.
An optional name for the message.
An optional unique identifier for the message.
Load content blocks from the message content.
Get the text content of the message as a string.