BeforeInvocationEvent
Defined in: src/hooks/events.ts:40
Event triggered at the beginning of a new agent request. Fired before any model inference or tool execution occurs.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BeforeInvocationEvent(data): BeforeInvocationEvent;Defined in: src/hooks/events.ts:44
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
data | { agent: AgentData; } |
data.agent | AgentData |
Returns
Section titled “Returns”BeforeInvocationEvent
Overrides
Section titled “Overrides”Properties
Section titled “Properties”readonly type: "beforeInvocationEvent";Defined in: src/hooks/events.ts:41
readonly agent: AgentData;Defined in: src/hooks/events.ts:42