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