Skip to main content

ToolEvent

@forge/monorepo


@forge/monorepo / backend/src / ToolEvent

Type Alias: ToolEvent

ToolEvent = EventBase<"tool.started" | "tool.completed" | "tool.failed"> & object

Defined in: backend/src/core/events.ts:81

Type Declaration

ranToolName?

readonly optional ranToolName?: string

The tool that actually ran, when the model called execute_tool — task #210.

Absent on tool.started, because at that point nothing has resolved the target yet. Present on completion and failure, where it is the difference between an audit trail that names an action and one that names a mechanism.

toolCallId

readonly toolCallId: ToolCallId

toolName

readonly toolName: string