Skip to content

agents / Exports / ToolExecutionResult

Interface: ToolExecutionResult

Enhanced tool execution result with additional metadata

Table of contents

Properties

Properties

success

success: boolean

Whether execution was successful

Defined in

packages/agents/src/interfaces/tool.ts:58


toolName

Optional toolName: string

Tool name that was executed

Defined in

packages/agents/src/interfaces/tool.ts:60


result

Optional result: ToolExecutionData

Execution result or data

Defined in

packages/agents/src/interfaces/tool.ts:62


error

Optional error: string

Error message if execution failed

Defined in

packages/agents/src/interfaces/tool.ts:64


duration

Optional duration: number

Execution duration in milliseconds

Defined in

packages/agents/src/interfaces/tool.ts:66


executionId

Optional executionId: string

Unique execution ID

Defined in

packages/agents/src/interfaces/tool.ts:68


metadata

Optional metadata: ToolMetadata

Additional metadata

Defined in

packages/agents/src/interfaces/tool.ts:70

Released under the MIT License.