Skip to content

ToolArgumentConditionLimits

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The size limits that keep ToolArgumentCondition a comparison, not a rule engine.

public static class ToolArgumentConditionLimits

objectToolArgumentConditionLimits

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Shared by the write-time validation (AgentPrism.AspNetCore) and the evaluation-time matcher (AgentPrism.Core); both must agree on the same numbers, so they are declared once, here.

The most conditions a single rule can carry.

public const int MaxConditions = 10

int

The most values an ToolArgumentOperator.In/ToolArgumentOperator.NotIn list can carry.

public const int MaxListLength = 50

int

The longest an argument path can be, in characters.

public const int MaxPathLength = 200

int

The most dotted segments an argument path can carry.

public const int MaxPathSegments = 10

int