# Interface ToolCompletedEvent

interface ToolCompletedEvent {
timestamp: number;
type: "tool.completed";
toolName: string;
invocationId: string;
durationMs: number;
success: boolean;
errorMessage?: string;
}

#### Hierarchy

- BaseEvent
  - ToolCompletedEvent

- Defined in packages/nexus-agents/src/pipeline/event-types.ts:195

##### Index

### Properties

timestamp
type
toolName
invocationId
durationMs
success
errorMessage?

## Properties

### `Readonly` timestamp

timestamp: number

Inherited from BaseEvent.timestamp

- Defined in packages/nexus-agents/src/pipeline/event-types.ts:48

### `Readonly` type

type: "tool.completed"

- Defined in packages/nexus-agents/src/pipeline/event-types.ts:196

### `Readonly` toolName

toolName: string

- Defined in packages/nexus-agents/src/pipeline/event-types.ts:197

### `Readonly` invocationId

invocationId: string

- Defined in packages/nexus-agents/src/pipeline/event-types.ts:198

### `Readonly` durationMs

durationMs: number

- Defined in packages/nexus-agents/src/pipeline/event-types.ts:199

### `Readonly` success

success: boolean

- Defined in packages/nexus-agents/src/pipeline/event-types.ts:200

### `Optional` `Readonly` errorMessage

errorMessage?: string

- Defined in packages/nexus-agents/src/pipeline/event-types.ts:201