# ToolWriteIntentMode

Defines how write intent is detected from tool arguments.

Enum 

`IntelligenceX.Tools`

**Namespace**

`IntelligenceX.Tools`

**Assembly**

`IntelligenceX`

**Source**

[ToolWriteIntentMode.cs:6](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolWriteIntentMode.cs#L6)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Defines how write intent is detected from tool arguments.

## Inheritance

- Enum
- ToolWriteIntentMode

## 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 4

- Property [ToolWriteGovernanceContract.IntentMode](/api/intelligencex-tools-toolwritegovernancecontract/#property-intentmode)
- Field [ToolWriteIntentMode.Always](/api/intelligencex-tools-toolwriteintentmode/#field-always)
- Field [ToolWriteIntentMode.BooleanFlagTrue](/api/intelligencex-tools-toolwriteintentmode/#field-booleanflagtrue)
- Field [ToolWriteIntentMode.StringEquals](/api/intelligencex-tools-toolwriteintentmode/#field-stringequals)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from Enum

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

`public override string ToString()` [#](#method-tostring)

Inherited from Enum

Returns

`string`

`public string ToString(string? format)` [#](#method-tostring-string)

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const ToolWriteIntentMode Always` [#](#field-always)

[ToolWriteIntentMode.cs:10](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolWriteIntentMode.cs#L10)

Tool is always considered write-intent capable when invoked.

Value: `0`

`public const ToolWriteIntentMode BooleanFlagTrue` [#](#field-booleanflagtrue)

[ToolWriteIntentMode.cs:15](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolWriteIntentMode.cs#L15)

Write intent is active when a boolean argument is true.

Value: `1`

`public const ToolWriteIntentMode StringEquals` [#](#field-stringequals)

[ToolWriteIntentMode.cs:20](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolWriteIntentMode.cs#L20)

Write intent is active when a string argument matches a configured value.

Value: `2`

<!-- PowerForge markdown artifact sha256:E11BE10EF9F683AE79C7DA5A19146B0D55DCE0E2E3CF4C9341D8BAF88A16D991 -->
