Interface: TrajectoryStepDto
@kortexya/reasoninglayer / TrajectoryStepDto
Interface: TrajectoryStepDto
Section titled “Interface: TrajectoryStepDto”Defined in: src/types/oversight.ts:4
A single step in the agent’s execution trajectory.
Properties
Section titled “Properties”action
Section titled “action”action:
string
Defined in: src/types/oversight.ts:6
Action/tool name executed.
agentId?
Section titled “agentId?”
optionalagentId?:string|null
Defined in: src/types/oversight.ts:8
Agent identifier for multi-agent systems (CrewAI, AutoGen, OpenAI Agents SDK).
agentName?
Section titled “agentName?”
optionalagentName?:string|null
Defined in: src/types/oversight.ts:10
Human-readable agent name for multi-agent systems.
error?
Section titled “error?”
optionalerror?:string|null
Defined in: src/types/oversight.ts:12
Error message if the tool call failed.
fileContent?
Section titled “fileContent?”
optionalfileContent?:string|null
Defined in: src/types/oversight.ts:14
Actual content returned by file-reading tools.
input?
Section titled “input?”
optionalinput?:unknown
Defined in: src/types/oversight.ts:16
Tool input parameters (JSON).
output?
Section titled “output?”
optionaloutput?:unknown
Defined in: src/types/oversight.ts:18
Tool output/result (JSON).
success?
Section titled “success?”
optionalsuccess?:boolean|null
Defined in: src/types/oversight.ts:20
Whether the tool call succeeded.
timestamp?
Section titled “timestamp?”
optionaltimestamp?:string|null
Defined in: src/types/oversight.ts:22
ISO 8601 timestamp of the step.
toolUsed?
Section titled “toolUsed?”
optionaltoolUsed?:string|null
Defined in: src/types/oversight.ts:24
Specific tool identifier (if different from action).