IntelligenceX
Class

ToolWriteGovernanceContract

IntelligenceX.Tools

Namespace
IntelligenceX.Tools
Assembly
IntelligenceX
Modifiers
sealed

Declares write-governance requirements for a tool definition.

Inheritance

  • object
  • ToolWriteGovernanceContract

Usage

Explore 4 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.

Accepted by parameters 1

Constructors

public ToolWriteGovernanceContract() #

Methods

public bool HasExplicitConfirmation(JsonObject? arguments) #

Returns true when explicit confirmation requirement is satisfied.

Parameters

arguments IntelligenceX.Json.JsonObject? required

Returns

bool
public bool IsWriteRequested(JsonObject? arguments) #

Returns true when provided arguments request write intent.

Parameters

arguments IntelligenceX.Json.JsonObject? required

Returns

bool
public void Validate() #

Validates the contract and throws when invalid.

Properties

public bool IsWriteCapable { get; set; } #

True when the tool can perform mutating/write actions.

public bool RequiresGovernanceAuthorization { get; set; } #

True when external governance authorization is required for write execution.

public string GovernanceContractId { get; set; } #

Stable governance contract identifier.

public ToolWriteIntentMode IntentMode { get; set; } #

Strategy used to detect write intent from arguments.

public string IntentArgumentName { get; set; } #

Argument name used by ToolWriteGovernanceContract.IntentMode.

public string IntentStringValue { get; set; } #

Required value for ToolWriteIntentMode.StringEquals.

public bool RequireExplicitConfirmation { get; set; } #

True when explicit confirmation argument must be present for write intent.

public string ConfirmationArgumentName { get; set; } #

Confirmation argument name. Expected to be boolean true.

Fields

public const string DefaultContractId #

Default governance contract id for IX write authorization.

Value: ix.write-governance.v1