# TraconValidationOptions

> 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.traconvalidationoptions/
> Summary: TraconValidationOptions: Defines options for the POST /api/agents/validate endpoint.

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

Defines options for the `POST /api/agents/validate` endpoint.

```csharp
public sealed class TraconValidationOptions
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.traconvalidationoptions/">TraconValidationOptions</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_TraconValidationOptions__ctor"></a> TraconValidationOptions\(\)

```csharp
public TraconValidationOptions()
```

## Properties

### <a id="Tracon_TraconValidationOptions_McpTimeout"></a> McpTimeout

Gets or sets the maximum duration for fetching a fresh tool list from an MCP server.

```csharp
public TimeSpan McpTimeout { get; set; }
```

#### Property Value

 [TimeSpan](https://learn.microsoft.com/dotnet/api/system.timespan)

#### Remarks

This is triggered only for a missing tool name when `Tracon.Mcp`
is registered. A slow MCP server must not overrun the validation endpoint.
On timeout, the result is `Inconclusive`, not `Valid`.

Must be from one millisecond to about 49.7 days; any other value fails at startup.
