Class
ToolWriteGovernanceConventions
IntelligenceX.Tools
Shared factories for common write-governance contract patterns.
Inheritance
- object
- ToolWriteGovernanceConventions
Methods
public static ToolWriteGovernanceContract BooleanFlagTrue(string intentArgumentName, string? confirmationArgumentName = null) #Creates a write-governance contract where write intent is a boolean flag set to true.
Parameters
- intentArgumentName string
- confirmationArgumentName string? = null
Returns
ToolWriteGovernanceContractpublic static ToolWriteGovernanceContract StringEquals(string intentArgumentName, string intentStringValue, string confirmationArgumentName = "allow_write") #Creates a write-governance contract where write intent is inferred by string-equals match.
Parameters
- intentArgumentName string
- intentStringValue string
- confirmationArgumentName string = "allow_write"
Returns
ToolWriteGovernanceContract