Skip to content

HarnessBeforeToolCallHook

Structure Class

HarnessBeforeToolCallHook dataclass

Bases: _SerdeShape

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.