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: HarnessToolUseStatus | 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: HarnessToolUseType | None = None

The type of tool use that produced this result.