IntelligenceX
Class

ToolRecoveryContract

IntelligenceX.Tools

Namespace
IntelligenceX.Tools
Assembly
IntelligenceX
Modifiers
sealed

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

Inheritance

  • object
  • ToolRecoveryContract

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 1

Constructors

public ToolRecoveryContract() #

Methods

public void Validate() #

Validates the contract and throws when invalid.

Properties

public bool IsRecoveryAware { get; set; } #

True when the tool exposes recovery behavior metadata.

public string RecoveryContractId { get; set; } #

Stable recovery contract identifier.

public bool SupportsTransientRetry { get; set; } #

True when the tool supports retry for transient failures.

public int MaxRetryAttempts { get; set; } #

Maximum retry attempts for transient failures.

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

Optional normalized retryable error codes.

public bool 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.

public IReadOnlyList<string> RecoveryToolNames { get; set; } #

Optional helper tool names that can restore context before retrying or resuming execution. These helpers should be read-only bootstrap/discovery tools when provided.

Fields

public const string DefaultContractId #

Default contract id for IX tool recovery metadata.

Value: ix.tool-recovery.v1