Skip to content
Tracon

TraconToolOptions

Namespace Tracon · Assembly Tracon.Core.dll

Defines tool execution options.

public sealed class TraconToolOptions

objectTraconToolOptions

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public TraconToolOptions()

Gets or sets whether a consumer-provided registry may bypass Tracon’s tool pipeline.

public bool AllowUnverifiedToolRegistry { get; set; }

bool

The default is false.

Gets or sets the longest an IToolApprovalPresenter may run before an approval request is published without its presentation.

public TimeSpan ApprovalPresentationTimeout { get; set; }

TimeSpan

2 seconds: unlike TraconToolOptions.DefaultTimeout, this runs on the path that publishes RunStatus.AwaitingApproval — the presenter is expected to do a single fast, read-only lookup (a point read by primary key), not real work. A slow presenter never blocks the approval itself; it only loses its own presentation, so a short default costs nothing but a resolved entity name.

Gets or sets the default byte limit for a tool result. null means unlimited, which is the default: an upgrade never silently cuts output.

public int? DefaultMaxOutputBytes { get; set; }

int?

Used when a tool’s own registration does not set ToolDescriptor.MaxOutputBytes. Bounding output inside the tool’s own body is always better; this is the installation-wide last defence for the day that bound is forgotten.

Gets or sets the longest duration one tool call may run when its own registration does not set ToolDescriptor.Timeout.

public TimeSpan DefaultTimeout { get; set; }

TimeSpan

30 seconds matches the skill-script default (TraconSkillScriptOptions.Timeout); this value was not measured against production traffic and should be revisited after the first real run.