Interface: ToolExecutionResult
@providerprotocol/agents / index / ToolExecutionResult
Interface: ToolExecutionResult
Section titled “Interface: ToolExecutionResult”Defined in: src/execution/tool-ordering.ts:277
Result of executing a single tool call, including timing and error information.
executeOrderedToolCalls for the function that returns these
Properties
Section titled “Properties”call:
ToolCall
Defined in: src/execution/tool-ordering.ts:279
The tool call that was executed
duration
Section titled “duration”duration:
number
Defined in: src/execution/tool-ordering.ts:287
Execution duration in milliseconds
error?
Section titled “error?”
optionalerror:string
Defined in: src/execution/tool-ordering.ts:285
Error message if isError is true
isError
Section titled “isError”isError:
boolean
Defined in: src/execution/tool-ordering.ts:283
Whether the tool execution threw an error
result
Section titled “result”result:
unknown
Defined in: src/execution/tool-ordering.ts:281
The result returned from the tool (null if error)