Type Aliases

ToolOutcome

Type Alias: ToolOutcome

ToolOutcome = AllowOutcome<Readonly<Record<string, unknown>>> | DenyOutcome | AskOutcome

Defined in: src/core/agent/middleware/types.ts:132

Everything a tool middleware may answer. Closed, and every arm has a home in this codebase: allow rides the normal dispatch, deny rides the synthetic tool result every other gate already uses, ask rides the pausable-stage checkpoint that checkIn rides.

On this page