ToolSpan
Class: ToolSpan
Defined in: src/types/log.types.ts:284
Extends
BaseStep
Constructors
Constructor
Defined in: src/types/log.types.ts:291
Parameters
data
createdAtNs?
number
durationNs?
number
groundTruth?
string
input
StepIOType
metadata?
Record
<string
, string
>
name?
string
output?
StepIOType
parent?
statusCode?
number
tags?
string
[]
toolCallId?
string
Returns
ToolSpan
Overrides
Properties
createdAtNs
Defined in: src/types/step.types.ts:56
Inherited from
durationNs
Defined in: src/types/step.types.ts:57
Inherited from
externalId?
Defined in: src/types/step.types.ts:64
Inherited from
groundTruth?
Defined in: src/types/step.types.ts:60
Inherited from
input
Defined in: src/types/log.types.ts:285
Overrides
metrics
Defined in: src/types/step.types.ts:63
Inherited from
modelConfig?
Defined in: src/types/step.types.ts:61
Inherited from
name
Defined in: src/types/step.types.ts:55
Inherited from
output
Defined in: src/types/log.types.ts:286
Overrides
statusCode?
Defined in: src/types/step.types.ts:59
Inherited from
tags?
Defined in: src/types/step.types.ts:62
Inherited from
toolCallId?
Defined in: src/types/log.types.ts:289
type
Defined in: src/types/log.types.ts:288
Overrides
userMetadata
Defined in: src/types/step.types.ts:58
Inherited from
Methods
toJSON()
Defined in: src/types/step.types.ts:103
Returns
Record
<string
, any
>
Inherited from
validateInputOutputSerializable()
Defined in: src/types/step.types.ts:97
Parameters
val
StepIOType
Returns
StepIOType