Skip to main content

IDEMPOTENT_TOOLS

Constant IDEMPOTENT_TOOLS 

Source
pub const IDEMPOTENT_TOOLS: &[&str];
Expand description

Tools that are read-only / side-effect-free for the same arguments. Used by the per-turn guardrail controller (tool_guardrails.rs) to detect “no progress” loops where the model keeps re-running the same query and getting the same result. NOT a security boundary — that’s tool_risk / tool_execution_policy in the runtime crate.