Skip to content

HarnessToolResultContentBlock

Union Type

HarnessToolResultContentBlock module-attribute

A content block within a tool result.

Union Member Types

HarnessToolResultContentBlockText dataclass

Bases: _SerdeShape

Text content.

Attributes

value instance-attribute
value: str

HarnessToolResultContentBlockJson dataclass

Bases: _SerdeShape

JSON content.

Attributes

value instance-attribute
value: Document

HarnessToolResultContentBlockUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str