<!--
 ⚠️  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) / IPluginErrorContext

# Interface: IPluginErrorContext

Error context for plugin error handling

## Table of contents

### Properties

- [action](IPluginErrorContext#action)
- [tool](IPluginErrorContext#tool)
- [parameters](IPluginErrorContext#parameters)
- [result](IPluginErrorContext#result)
- [error](IPluginErrorContext#error)
- [executionId](IPluginErrorContext#executionid)
- [sessionId](IPluginErrorContext#sessionid)
- [userId](IPluginErrorContext#userid)
- [timestamp](IPluginErrorContext#timestamp)
- [attempt](IPluginErrorContext#attempt)
- [stack](IPluginErrorContext#stack)
- [metadata](IPluginErrorContext#metadata)

## Properties

### action

• **action**: `string`

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:98](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L98)

---

### tool

• `Optional` **tool**: `string`

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:99](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L99)

---

### parameters

• `Optional` **parameters**: [`TToolParameters`](../modules#ttoolparameters)

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:100](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L100)

---

### result

• `Optional` **result**: [`IToolExecutionResult`](IToolExecutionResult)

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:101](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L101)

---

### error

• `Optional` **error**: `Error`

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:102](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L102)

---

### executionId

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

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:104](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L104)

---

### sessionId

• `Optional` **sessionId**: `string`

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:105](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L105)

---

### userId

• `Optional` **userId**: `string`

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:106](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L106)

---

### timestamp

• `Optional` **timestamp**: `Date`

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:107](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L107)

---

### attempt

• `Optional` **attempt**: `number`

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:108](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L108)

---

### stack

• `Optional` **stack**: `string`

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:109](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L109)

---

### metadata

• `Optional` **metadata**: `Record`\<`string`, `string` \| `number` \| `boolean`\>

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:110](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L110)
