Interface: ToolCallStartEvent<TContext>
Defined in: packages/kernl/src/lifecycle.ts:177
Emitted when a tool call starts.
Type Parameters
| Type Parameter | Default type |
|---|---|
TContext | unknown |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
agentId | public | string | The agent executing this tool. | packages/kernl/src/lifecycle.ts:188 |
args | public | Record<string, unknown> | Arguments passed to the tool (parsed JSON). | packages/kernl/src/lifecycle.ts:210 |
callId | public | string | Unique identifier for this call. | packages/kernl/src/lifecycle.ts:205 |
context | public | Context<TContext> | The context for this execution. NOTE: Includes context.agent reference for tools - may be optimized in future. | packages/kernl/src/lifecycle.ts:195 |
kind | readonly | "tool.call.start" | - | packages/kernl/src/lifecycle.ts:178 |
threadId | public | string | The thread ID. | packages/kernl/src/lifecycle.ts:183 |
toolId | public | string | The tool being called. | packages/kernl/src/lifecycle.ts:200 |