API Reference
ToolWriteGovernanceContract
Declares write-governance requirements for a tool definition.
Inheritance
- Object
- ToolWriteGovernanceContract
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Constructor ToolDefinition.ToolDefinition
Constructors
public ToolWriteGovernanceContract() #Methods
public Boolean HasExplicitConfirmation(JsonObject arguments) #BooleanReturns true when explicit confirmation requirement is satisfied.
Parameters
- arguments IntelligenceX.Json.JsonObject
public Boolean IsWriteRequested(JsonObject arguments) #BooleanReturns true when provided arguments request write intent.
Parameters
- arguments IntelligenceX.Json.JsonObject
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public Boolean IsWriteCapable { get; set; } #True when the tool can perform mutating/write actions.
public Boolean 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 IntentMode.
public String IntentStringValue { get; set; } #Required value for StringEquals.
public Boolean 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.
ix.write-governance.v1