Skip to content

Bedrock AgentCore  >  Structures  >  HarnessToolResultBlock

HarnessToolResultBlock

Structure Class

HarnessToolResultBlock dataclass

The result of a tool execution.

Attributes

content instance-attribute

The content of the tool result.

status class-attribute instance-attribute
status: str | None = None

The status of the tool execution.

tool_use_id instance-attribute
tool_use_id: str

The tool use ID that this result corresponds to.

type class-attribute instance-attribute
type: str | None = None

The type of tool use that produced this result.