ToolWriteGovernanceContract
IntelligenceX.Tools
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.
Returned or exposed by 3
Accepted by parameters 1
- Constructor ToolDefinition.ToolDefinition
Constructors
public ToolWriteGovernanceContract() #Methods
public bool HasExplicitConfirmation(JsonObject? arguments) #Returns true when explicit confirmation requirement is satisfied.
Parameters
- arguments IntelligenceX.Json.JsonObject?
Returns
boolpublic bool IsWriteRequested(JsonObject? arguments) #Returns true when provided arguments request write intent.
Parameters
- arguments IntelligenceX.Json.JsonObject?
Returns
boolpublic void Validate() #Validates the contract and throws when invalid.
Inherited Methods
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.
ix.write-governance.v1