IntelligenceX
Class

ToolRecoveryContract

Namespace IntelligenceX.Tools
Assembly IntelligenceX
Modifiers sealed

Declares tool-owned recovery behavior used for resilience inside the tool/engine boundary.

Inheritance

  • Object
  • ToolRecoveryContract

Constructors

Methods

public Void Validate() #
Returns: Void

Validates the contract and throws when invalid.

Properties

public Boolean IsRecoveryAware { get; set; } #

True when the tool exposes recovery behavior metadata.

public String RecoveryContractId { get; set; } #

Stable recovery contract identifier.

public Boolean SupportsTransientRetry { get; set; } #

True when the tool supports retry for transient failures.

public Int32 MaxRetryAttempts { get; set; } #

Maximum retry attempts for transient failures.

public IReadOnlyList<String> RetryableErrorCodes { get; set; } #

Optional normalized retryable error codes.

public Boolean SupportsAlternateEngines { get; set; } #

True when the tool can switch to alternate internal execution engines.

public IReadOnlyList<String> AlternateEngineIds { get; set; } #

Optional alternate engine identifiers used when primary execution fails.

Fields

public const String DefaultContractId #

Default contract id for IX tool recovery metadata.

Value: ix.tool-recovery.v1