Skip to content

ToolEffectPayload

Defined in: packages/tools/src/approval/types.ts:34

Intent payload for kind: "tool" — maps onto import(“@agent-dev-lab/core”).EffectIntent.payload. A rewrite decision replaces this whole object.

input: unknown

Defined in: packages/tools/src/approval/types.ts:36


optional source?: string

Defined in: packages/tools/src/approval/types.ts:42

Where the tool runs when it is not one of this package’s built-ins, e.g. "mcp:github". Part of the tool’s identity: a rewrite cannot change it, and remembered approvals are keyed by it, so a same-named tool from another server is asked about separately.


toolName: string

Defined in: packages/tools/src/approval/types.ts:35