ProtocolEvent
Agent Runtimes / types/protocol / ProtocolEvent
Interface: ProtocolEvent
Defined in: src/types/protocol.ts:107
Protocol event
Properties
activity?
optionalactivity?:object
Defined in: src/types/protocol.ts:113
data
data:
unknown
type
type:
string
data?
optionaldata?:unknown
Defined in: src/types/protocol.ts:109
error?
optionalerror?:Error
Defined in: src/types/protocol.ts:119
message?
optionalmessage?:ChatMessage
Defined in: src/types/protocol.ts:110
timestamp
timestamp:
Date
Defined in: src/types/protocol.ts:120
toolCall?
optionaltoolCall?:ToolCallRequest
Defined in: src/types/protocol.ts:111
toolResult?
optionaltoolResult?:ToolExecutionResult<unknown>
Defined in: src/types/protocol.ts:112
type
type:
ProtocolEventType
Defined in: src/types/protocol.ts:108
usage?
optionalusage?:ProtocolUsage
Defined in: src/types/protocol.ts:118
Token usage for this event (emitted on finish/run-complete events)