Interface: ToolExecutionTrace
@providerprotocol/agents / index / ToolExecutionTrace
Interface: ToolExecutionTrace
Section titled “Interface: ToolExecutionTrace”Defined in: src/state/types.ts:25
A single tool execution trace from a sub-agent.
Captures the details of a tool invocation during sub-agent execution, enabling debugging, auditing, and replay of agent behavior.
Remarks
Section titled “Remarks”Conforms to UAP specification Section 8.8 for sub-agent tracing.
SubagentExecutionTrace for the parent trace containing these records
Properties
Section titled “Properties”arguments
Section titled “arguments”arguments:
Record<string,unknown>
Defined in: src/state/types.ts:33
Arguments passed to the tool as key-value pairs
duration?
Section titled “duration?”
optionalduration:number
Defined in: src/state/types.ts:42
Execution duration in milliseconds
isError?
Section titled “isError?”
optionalisError:boolean
Defined in: src/state/types.ts:39
Whether the tool execution resulted in an error
result
Section titled “result”result:
string
Defined in: src/state/types.ts:36
Stringified result returned by the tool
toolCallId?
Section titled “toolCallId?”
optionaltoolCallId:string
Defined in: src/state/types.ts:30
Unique identifier for this tool call, used for correlation with tool results
toolName
Section titled “toolName”toolName:
string
Defined in: src/state/types.ts:27
Name of the tool that was invoked