NormalizedDecision
Defined in: types.ts:558
A single decision made by an agent during execution — agent-agnostic.
Properties
action
readonlyaction:string
Defined in: types.ts:560
What was decided (tool name, function call, task).
args?
readonlyoptionalargs?:Record<string,unknown>
Defined in: types.ts:566
Parameters passed to the tool/function.
durationMs?
readonlyoptionaldurationMs?:number
Defined in: types.ts:574
Time taken in milliseconds.
error?
readonlyoptionalerror?:string
Defined in: types.ts:572
Error message if failed.
index
readonlyindex:number
Defined in: types.ts:576
Position in the decision chain (0-indexed).
outcome
readonlyoutcome:"failed"|"timeout"|"ok"|"skipped"
Defined in: types.ts:568
Outcome of the decision.
output?
readonlyoptionaloutput?:string
Defined in: types.ts:570
Result summary (truncated).
reasoning?
readonlyoptionalreasoning?:string
Defined in: types.ts:562
Why the agent made this decision (thinking block, chain description).
tool?
readonlyoptionaltool?:string
Defined in: types.ts:564
Specific tool or function used.