Optional
_parentRunId: stringReadonly
handlersReadonly
runProtected
Readonly
inheritableProtected
Readonly
inheritableProtected
Readonly
inheritableProtected
Readonly
metadataProtected
Readonly
tagsOptional
tag: stringCalled when an agent finishes execution, before it exits. with the final output and the run ID.
Called at the end of a Chain run, with the outputs and the run ID.
Optional
_runId: stringOptional
_parentRunId: stringOptional
_tags: string[]Optional
kwargs: { Optional
inputs?: Record<string, unknown>Called if a Chain run encounters an error
Optional
_runId: stringOptional
_parentRunId: stringOptional
_tags: string[]Optional
kwargs: { Optional
inputs?: Record<string, unknown>
Called when an agent is about to execute an action, with the action and the run ID.