Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
OpenClaw can keep agents from getting stuck in repeated tool-call patterns. The guard is disabled by default.
Enable it only where needed, because it can block legitimate repeated calls with strict settings.
Global defaults:
json5{ tools: { loopDetection: { enabled: false, historySize: 30, warningThreshold: 10, criticalThreshold: 20, globalCircuitBreakerThreshold: 30, detectors: { genericRepeat: true, knownPollNoProgress: true, pingPong: true, }, }, }, }
Per-agent override (optional):
json5{ agents: { list: [ { id: "safe-runner", tools: { loopDetection: { enabled: true, warningThreshold: 8, criticalThreshold: 16, }, }, }, ], }, }
enabledfalsehistorySizewarningThresholdcriticalThresholdglobalCircuitBreakerThresholddetectors.genericRepeatdetectors.knownPollNoProgressdetectors.pingPongFor
execenabled: truewarningThreshold < criticalThreshold < globalCircuitBreakerThresholdwarningThresholdcriticalThresholdglobalCircuitBreakerThresholdhistorySizeWhen a loop is detected, OpenClaw reports a loop event and blocks or dampens the next tool-cycle depending on severity. This protects users from runaway token spend and lockups while preserving normal tool access.
tools.loopDetection© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine