ToolResult#

Shared event names and public type aliases. See the guide.

zett_agent.tools.base.ToolResult = ToolResult#

Raw result of one local tool invocation, before the runtime turns it into a ToolMessage. TextContent and ImageContent parts (or a list of them) become multimodal content, strings pass through unchanged, and every other value is serialized by Pydantic, which covers JSON values, Pydantic models, and dataclasses. The runtime never inspects the value itself, so this alias stays wide instead of claiming an exhaustive union.