kernl
ReferencekernlInterfaces

Interface: ToolCallStartEvent<TContext>

Defined in: packages/kernl/src/lifecycle.ts:177

Emitted when a tool call starts.

Type Parameters

Type ParameterDefault type
TContextunknown

Properties

PropertyModifierTypeDescriptionDefined in
agentIdpublicstringThe agent executing this tool.packages/kernl/src/lifecycle.ts:188
argspublicRecord<string, unknown>Arguments passed to the tool (parsed JSON).packages/kernl/src/lifecycle.ts:210
callIdpublicstringUnique identifier for this call.packages/kernl/src/lifecycle.ts:205
contextpublicContext<TContext>The context for this execution. NOTE: Includes context.agent reference for tools - may be optimized in future.packages/kernl/src/lifecycle.ts:195
kindreadonly"tool.call.start"-packages/kernl/src/lifecycle.ts:178
threadIdpublicstringThe thread ID.packages/kernl/src/lifecycle.ts:183
toolIdpublicstringThe tool being called.packages/kernl/src/lifecycle.ts:200

On this page