Interface: SubagentExecutionTraceJSON
@providerprotocol/agents / index / SubagentExecutionTraceJSON
Interface: SubagentExecutionTraceJSON
Section titled “Interface: SubagentExecutionTraceJSON”Defined in: src/state/types.ts:116
JSON-serializable form of SubagentExecutionTrace.
Used for persisting sub-agent traces to storage and transmitting them across process boundaries.
Properties
Section titled “Properties”endTime
Section titled “endTime”endTime:
number
Defined in: src/state/types.ts:122
error?
Section titled “error?”
optionalerror:string
Defined in: src/state/types.ts:125
parentToolCallId
Section titled “parentToolCallId”parentToolCallId:
string
Defined in: src/state/types.ts:119
prompt
Section titled “prompt”prompt:
string
Defined in: src/state/types.ts:120
result?
Section titled “result?”
optionalresult:string
Defined in: src/state/types.ts:124
startTime
Section titled “startTime”startTime:
number
Defined in: src/state/types.ts:121
subagentId
Section titled “subagentId”subagentId:
string
Defined in: src/state/types.ts:117
subagentType
Section titled “subagentType”subagentType:
string
Defined in: src/state/types.ts:118
success
Section titled “success”success:
boolean
Defined in: src/state/types.ts:123
toolExecutions?
Section titled “toolExecutions?”
optionaltoolExecutions:ToolExecutionTrace[]
Defined in: src/state/types.ts:126
usage?
Section titled “usage?”
optionalusage:TokenUsage
Defined in: src/state/types.ts:127