Functions

readToolResultEnvelope

Function: readToolResultEnvelope()

readToolResultEnvelope(result): ReadToolResultEnvelope | undefined

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

Recognize (or decline to recognize) a tool's return value as an effects envelope. undefined = not an envelope: the caller keeps today's path untouched. See the module header for the exact recognition rule and why it is strict.

Parameters

result

unknown

Returns

ReadToolResultEnvelope | undefined

On this page