Type Aliases

ToolResultStatus

Type Alias: ToolResultStatus

ToolResultStatus = "success" | "failure" | "denied" | "invalid" | "partial" | "pending"

Defined in: src/core/agent/toolEffects.ts:51

Normalized outcome of one tool call, declared by the tool itself. Six values, deliberately closed: routing keyed on meaning needs a vocabulary both sides spell identically. A string outside this set makes the value NOT an envelope (data path, unchanged).

On this page