Skip to content

agent-core / Exports / IToolExecutionResult

Interface: IToolExecutionResult

Enhanced tool execution result with additional metadata

Table of contents

Properties

Properties

success

success: boolean

Whether execution was successful

Defined in

packages/agent-core/src/interfaces/tool.ts:51


toolName

Optional toolName: string

Tool name that was executed

Defined in

packages/agent-core/src/interfaces/tool.ts:53


result

Optional result: TUniversalValue

Execution result or data

Defined in

packages/agent-core/src/interfaces/tool.ts:55


error

Optional error: string

Error message if execution failed

Defined in

packages/agent-core/src/interfaces/tool.ts:57


duration

Optional duration: number

Execution duration in milliseconds

Defined in

packages/agent-core/src/interfaces/tool.ts:59


executionId

Optional executionId: string

Unique execution ID

Defined in

packages/agent-core/src/interfaces/tool.ts:61


metadata

Optional metadata: TToolMetadata

Additional metadata

Defined in

packages/agent-core/src/interfaces/tool.ts:63

Released under the MIT License.