Skip to main content

Installation

Usage

How It Works

wrapLangChainTool wraps the tool’s call() method. When the agent invokes the tool, Sigil evaluates the intent against your warranty.md policy first. On approval, the original call() executes. On denial or hold, a typed JSON rejection is returned as the tool output.
The JSON rejection is returned as the tool output string β€” LangChain agents receive it as a tool result and adjust their reasoning accordingly.

Configuration