Skip to content

Interface: ToolExecutionResult

@providerprotocol/agents


@providerprotocol/agents / index / 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

call: ToolCall

Defined in: src/execution/tool-ordering.ts:279

The tool call that was executed


duration: number

Defined in: src/execution/tool-ordering.ts:287

Execution duration in milliseconds


optional error: string

Defined in: src/execution/tool-ordering.ts:285

Error message if isError is true


isError: boolean

Defined in: src/execution/tool-ordering.ts:283

Whether the tool execution threw an error


result: unknown

Defined in: src/execution/tool-ordering.ts:281

The result returned from the tool (null if error)