Skip to content

GadgetCallEvent

Defined in: core/execution-events.ts:97

Emitted when a gadget call is parsed from LLM output (before execution).

dependencies: string[]

Defined in: core/execution-events.ts:106

Dependencies (other invocation IDs)


depth: number

Defined in: core/execution-events.ts:33

Nesting depth (0 = root, 1 = child, etc.)

BaseExecutionEvent.depth


eventId: number

Defined in: core/execution-events.ts:25

Monotonically increasing event ID

BaseExecutionEvent.eventId


invocationId: string

Defined in: core/execution-events.ts:100

Invocation ID


name: string

Defined in: core/execution-events.ts:102

Gadget name


nodeId: string

Defined in: core/execution-events.ts:29

Node that emitted this event

BaseExecutionEvent.nodeId


parameters: Record<string, unknown>

Defined in: core/execution-events.ts:104

Parameters


parentId: string | null

Defined in: core/execution-events.ts:31

Parent node ID (null for root events)

BaseExecutionEvent.parentId


path: string[]

Defined in: core/execution-events.ts:35

Full path from root to this node

BaseExecutionEvent.path


timestamp: number

Defined in: core/execution-events.ts:27

Event timestamp

BaseExecutionEvent.timestamp


type: "gadget_call"

Defined in: core/execution-events.ts:98