Skip to main content

ToolExecutionInput

@forge/monorepo


@forge/monorepo / backend/src / ToolExecutionInput

Type Alias: ToolExecutionInput

ToolExecutionInput = object

Defined in: backend/src/tools/index.ts:111

Properties

approval?

readonly optional approval?: OneTimeApprovalRef

Defined in: backend/src/tools/index.ts:123

Set when this call is the execution a human already approved.

Threaded down to the tool rather than consumed by the registry alone, because a delegating tool runs its own gate — the registry letting the call through while the envelope refuses it one layer lower is the same stuck loop, just harder to see.


context

readonly context: ExecutionContext

Defined in: backend/src/tools/index.ts:112


idempotencyKey?

readonly optional idempotencyKey?: string

Defined in: backend/src/tools/index.ts:115

Derived from tenant, run and tool-call identity. Replays return the first result.


input

readonly input: unknown

Defined in: backend/src/tools/index.ts:113