Skip to content

Bedrock AgentCore Control  >  Structures  >  HarnessBeforeToolCallHook

HarnessBeforeToolCallHook

Structure Class

HarnessBeforeToolCallHook dataclass

The configuration for a hook that runs before the agent calls a tool.

Attributes

name instance-attribute
name: str

The name of the hook.

target instance-attribute

The target that receives the hook event.