Interface: SubagentStartEvent
@providerprotocol/agents / index / SubagentStartEvent
Interface: SubagentStartEvent
Section titled “Interface: SubagentStartEvent”Defined in: src/execution/types.ts:588
Event emitted when a sub-agent starts execution.
Contains the prompt given to the sub-agent and the start timestamp for duration tracking.
Extends
Section titled “Extends”Properties
Section titled “Properties”parentToolCallId
Section titled “parentToolCallId”parentToolCallId:
string
Defined in: src/execution/types.ts:579
The parent tool call ID that spawned this sub-agent
Inherited from
Section titled “Inherited from”SubagentEventBase.parentToolCallId
prompt
Section titled “prompt”prompt:
string
Defined in: src/execution/types.ts:592
The task/prompt given to the sub-agent
subagentId
Section titled “subagentId”subagentId:
string
Defined in: src/execution/types.ts:575
Unique ID of the sub-agent instance
Inherited from
Section titled “Inherited from”subagentType
Section titled “subagentType”subagentType:
string
Defined in: src/execution/types.ts:577
Type/name of the sub-agent (e.g., ‘explorer’, ‘planner’)
Inherited from
Section titled “Inherited from”SubagentEventBase.subagentType
timestamp
Section titled “timestamp”timestamp:
number
Defined in: src/execution/types.ts:594
Start timestamp in milliseconds since epoch
type:
"subagent_start"
Defined in: src/execution/types.ts:590
Event type discriminator