# ToolHandoffContract

Declares outbound handoff mappings from one tool/pack boundary to another.

Class 

`IntelligenceX.Tools`

**Namespace**

`IntelligenceX.Tools`

**Assembly**

`IntelligenceX`

**Source**

[ToolHandoffContract.cs:23](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolHandoffContract.cs#L23)

**Modifiers**

sealed

Declares outbound handoff mappings from one tool/pack boundary to another.

## Inheritance

- object
- ToolHandoffContract

## Usage

Explore 2 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 1

- Property [ToolDefinition.Handoff](/api/intelligencex-tools-tooldefinition/#property-handoff)

### Accepted by parameters 1

- Constructor [ToolDefinition.ToolDefinition](/api/intelligencex-tools-tooldefinition/#constructor-ctor-string-string-intelligencex-json-jsonobject-string-string-collections-generic-ireadonlylist-system-string-intelligencex-tools-toolwritegovernancecontract-collections-generic-ireadonlylist-intelligencex-tools-toolaliasdefinition-string-intelligencex-tools-toolauthenticationcontract-intelligencex-tools-toolroutingcontract-intelligencex-tools-toolsetupcontract-intelligencex-tools-toolhandoffcontract-intelligencex-tools-toolrecoverycontract-intelligencex-tools-toolexecutioncontract) parameter `handoff`

Filter members 

Show inherited

## Constructors

`public ToolHandoffContract()` [#](#constructor-ctor)

[ToolHandoffContract.cs:23](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolHandoffContract.cs#L23)

## Methods

`public void Validate()` [#](#method-validate)

[ToolHandoffContract.cs:34](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolHandoffContract.cs#L34)

Validates the contract and throws when invalid.

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from object

Returns

`int`

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

Inherited from object

Returns

`Type`

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

Inherited from object

Returns

`string?`

## Properties

`public bool IsHandoffAware { get; set; }` [#](#property-ishandoffaware)

[ToolHandoffContract.cs:18](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolHandoffContract.cs#L18)

True when the tool declares outbound handoff routes.

`public string HandoffContractId { get; set; }` [#](#property-handoffcontractid)

[ToolHandoffContract.cs:23](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolHandoffContract.cs#L23)

Stable handoff contract identifier.

`public IReadOnlyList<ToolHandoffRoute> OutboundRoutes { get; set; }` [#](#property-outboundroutes)

[ToolHandoffContract.cs:28](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolHandoffContract.cs#L28)

Outbound handoff routes available from this tool.

## Fields

`public const string DefaultContractId` [#](#field-defaultcontractid)

[ToolHandoffContract.cs:13](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolHandoffContract.cs#L13)

Default contract id for IX tool handoff metadata.

Value: `ix.tool-handoff.v1`

<!-- PowerForge markdown artifact sha256:04E4871A0D7C087F69B26C566978D3BB6802D7FD99757817E59C053F13C63AD5 -->
