.NET API
ToolUsageUnits
Namespace Tracon · Assembly
Tracon.Abstractions.dllThe known unit names for ToolCallUsage.Unit.
public static class ToolUsageUnits- Inheritance
- object ← ToolUsageUnits
- Inherited Members
- object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”The list is not closed: the field is free text, and a tool may report its own unit. These constants only keep the names Tracon’s own tools use in one place.
Fields
Section titled “Fields”Calls. Used when a provider bills a hosted tool, such as a web search, by the call.
public const string Calls = "calls"Field Value
Section titled “Field Value”Characters
Section titled “ Characters”Characters. Used in text-to-speech generation.
public const string Characters = "characters"Field Value
Section titled “Field Value”Images
Section titled “ Images”Generated images. Used when an image provider bills per image.
public const string Images = "images"Field Value
Section titled “Field Value”Seconds
Section titled “ Seconds”Seconds. Used in speech-to-text conversion.
public const string Seconds = "seconds"Field Value
Section titled “Field Value”Tokens
Section titled “ Tokens”Tokens. Used when an image provider bills image generation by output tokens, and by the knowledge search for the input tokens of the query it embeds.
public const string Tokens = "tokens"