Skip to main content

Interface: LoopDetectionResult

Defined in: security/ToolLoopDetector.ts:69

Result of a loop detection check.

Properties

allowed

allowed: boolean

Defined in: security/ToolLoopDetector.ts:71

Whether the call is allowed


consecutiveCount

consecutiveCount: number

Defined in: security/ToolLoopDetector.ts:80

Number of consecutive identical calls detected


loopDetected

loopDetected: boolean

Defined in: security/ToolLoopDetector.ts:86

Whether a loop was detected


reason?

optional reason?: string

Defined in: security/ToolLoopDetector.ts:74

If not allowed, the reason


suggestedDelayMs?

optional suggestedDelayMs?: number

Defined in: security/ToolLoopDetector.ts:77

Suggested delay before retrying (ms)


totalCalls

totalCalls: number

Defined in: security/ToolLoopDetector.ts:83

Total calls in session