<!--
 ⚠️  AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
 This file is automatically generated by scripts/docs-generator.js
 To make changes, edit the source TypeScript files or update the generator script
-->

[agents](../../) / [Exports](../modules) / IToolExecutionResult

# Interface: IToolExecutionResult

Enhanced tool execution result with additional metadata

## Table of contents

### Properties

- [success](IToolExecutionResult#success)
- [toolName](IToolExecutionResult#toolname)
- [result](IToolExecutionResult#result)
- [error](IToolExecutionResult#error)
- [duration](IToolExecutionResult#duration)
- [executionId](IToolExecutionResult#executionid)
- [metadata](IToolExecutionResult#metadata)

## Properties

### success

• **success**: `boolean`

Whether execution was successful

#### Defined in

[packages/agents/src/interfaces/tool.ts:46](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/tool.ts#L46)

---

### toolName

• `Optional` **toolName**: `string`

Tool name that was executed

#### Defined in

[packages/agents/src/interfaces/tool.ts:48](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/tool.ts#L48)

---

### result

• `Optional` **result**: [`TUniversalValue`](../modules#tuniversalvalue)

Execution result or data

#### Defined in

[packages/agents/src/interfaces/tool.ts:50](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/tool.ts#L50)

---

### error

• `Optional` **error**: `string`

Error message if execution failed

#### Defined in

[packages/agents/src/interfaces/tool.ts:52](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/tool.ts#L52)

---

### duration

• `Optional` **duration**: `number`

Execution duration in milliseconds

#### Defined in

[packages/agents/src/interfaces/tool.ts:54](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/tool.ts#L54)

---

### executionId

• `Optional` **executionId**: `string`

Unique execution ID

#### Defined in

[packages/agents/src/interfaces/tool.ts:56](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/tool.ts#L56)

---

### metadata

• `Optional` **metadata**: [`TToolMetadata`](../modules#ttoolmetadata)

Additional metadata

#### Defined in

[packages/agents/src/interfaces/tool.ts:58](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/tool.ts#L58)
