Skip to content

Graphorin API reference v0.13.8


Graphorin API reference / @graphorin/core / / SubagentEvent

Interface: SubagentEvent

Defined in: packages/core/src/types/agent-event.ts:81

Stable

A CHILD sub-agent's event forwarded into the parent stream, wrapped so it never aliases the parent's own step/run events. Which child events forward is governed by the forwardEvents policy on the handoff entry / AgentToToolOptions (default 'lifecycle').

Properties

PropertyModifierTypeDescriptionDefined in
agentNamereadonlystringThe child agent's configured name.packages/core/src/types/agent-event.ts:86
eventreadonlyAgentEvent<unknown>The child's event, verbatim.packages/core/src/types/agent-event.ts:88
toolCallIdreadonlystringThe PARENT-side toolCallId of the handoff / sub-agent call.packages/core/src/types/agent-event.ts:84
typereadonly"subagent.event"-packages/core/src/types/agent-event.ts:82