ToolUsageQuery
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllThe filter for a tool usage summary.
public sealed record ToolUsageQuery : IEquatable<ToolUsageQuery>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”ToolUsageQuery()
Section titled “ ToolUsageQuery()”public ToolUsageQuery()Properties
Section titled “Properties”MaxTools
Section titled “ MaxTools”The maximum number of tools to return. Tools with the highest call count are returned first.
public int MaxTools { get; init; }Property Value
Section titled “Property Value”StartedAfter
Section titled “ StartedAfter”Count only calls from runs that started after this moment.
public DateTimeOffset? StartedAfter { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”The tenant filter. The current tenant is used if left empty.
public string? TenantId { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(ToolUsageQuery?)
Section titled “ Equals(ToolUsageQuery?)”public bool Equals(ToolUsageQuery? other)Parameters
Section titled “Parameters”other ToolUsageQuery?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(ToolUsageQuery?, ToolUsageQuery?)
Section titled “ operator ==(ToolUsageQuery?, ToolUsageQuery?)”public static bool operator ==(ToolUsageQuery? left, ToolUsageQuery? right)Parameters
Section titled “Parameters”left ToolUsageQuery?
right ToolUsageQuery?
Returns
Section titled “Returns”operator !=(ToolUsageQuery?, ToolUsageQuery?)
Section titled “ operator !=(ToolUsageQuery?, ToolUsageQuery?)”public static bool operator !=(ToolUsageQuery? left, ToolUsageQuery? right)Parameters
Section titled “Parameters”left ToolUsageQuery?
right ToolUsageQuery?