# CallableAgentInfo

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.callableagentinfo/
> Summary: CallableAgentInfo: The summary of a callable sub-agent, reported to the model.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Core.dll</code></div>

The summary of a callable sub-agent, reported to the model.

```csharp
public readonly struct CallableAgentInfo : IEquatable<CallableAgentInfo>
```

<dl class="api-relations"><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;CallableAgentInfo&gt;</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Constructors

### <a id="Tracon_CallableAgentInfo__ctor_System_String_System_String_System_Int32_"></a> CallableAgentInfo\(string, string?, int\)

The summary of a callable sub-agent, reported to the model.

```csharp
public CallableAgentInfo(string Name, string? Description, int Version)
```

#### Parameters

`Name` [string](https://learn.microsoft.com/dotnet/api/system.string)

Agent name.

`Description` [string](https://learn.microsoft.com/dotnet/api/system.string)?

Description of what it does.

`Version` [int](https://learn.microsoft.com/dotnet/api/system.int32)

Version of the sub-agent's definition. 0 when not found in the catalog.
Enters the cache key of the calling agent's compiled copy: a sub-agent's
description is embedded in the text sent to the model, so the caller must
be recompiled when the sub-agent is updated.

## Properties

### <a id="Tracon_CallableAgentInfo_Description"></a> Description

Description of what it does.

```csharp
public string? Description { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)?

### <a id="Tracon_CallableAgentInfo_Name"></a> Name

Agent name.

```csharp
public string Name { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_CallableAgentInfo_Version"></a> Version

Version of the sub-agent's definition. 0 when not found in the catalog.
Enters the cache key of the calling agent's compiled copy: a sub-agent's
description is embedded in the text sent to the model, so the caller must
be recompiled when the sub-agent is updated.

```csharp
public int Version { get; init; }
```

#### Property Value

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

## Methods

### <a id="Tracon_CallableAgentInfo_Deconstruct_System_String__System_String__System_Int32__"></a> Deconstruct\(out string, out string?, out int\)

```csharp
public void Deconstruct(out string Name, out string? Description, out int Version)
```

#### Parameters

`Name` [string](https://learn.microsoft.com/dotnet/api/system.string)

`Description` [string](https://learn.microsoft.com/dotnet/api/system.string)?

`Version` [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_CallableAgentInfo_Equals_System_Object_"></a> Equals\(object\)

```csharp
public override bool Equals(object obj)
```

#### Parameters

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_CallableAgentInfo_Equals_Tracon_CallableAgentInfo_"></a> Equals\(CallableAgentInfo\)

```csharp
public bool Equals(CallableAgentInfo other)
```

#### Parameters

`other` [CallableAgentInfo](/api/tracon.callableagentinfo/)

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_CallableAgentInfo_GetHashCode"></a> GetHashCode\(\)

```csharp
public override int GetHashCode()
```

#### Returns

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_CallableAgentInfo_ToString"></a> ToString\(\)

```csharp
public override string ToString()
```

#### Returns

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Operators

### <a id="Tracon_CallableAgentInfo_op_Equality_Tracon_CallableAgentInfo_Tracon_CallableAgentInfo_"></a> operator ==\(CallableAgentInfo, CallableAgentInfo\)

```csharp
public static bool operator ==(CallableAgentInfo left, CallableAgentInfo right)
```

#### Parameters

`left` [CallableAgentInfo](/api/tracon.callableagentinfo/)

`right` [CallableAgentInfo](/api/tracon.callableagentinfo/)

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_CallableAgentInfo_op_Inequality_Tracon_CallableAgentInfo_Tracon_CallableAgentInfo_"></a> operator \!=\(CallableAgentInfo, CallableAgentInfo\)

```csharp
public static bool operator !=(CallableAgentInfo left, CallableAgentInfo right)
```

#### Parameters

`left` [CallableAgentInfo](/api/tracon.callableagentinfo/)

`right` [CallableAgentInfo](/api/tracon.callableagentinfo/)

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)
