Skip to main content

Tool Guard

Policy-based tool authorization. Check if a tool is allowed before executing it.

guardTool

Policy options

wrapAgentTool

High-level wrapper that applies guard + redact + SSRF checks to any tool function: