CompactionTriggers.HasToolCalls Method

Definition

Creates a trigger that fires when the included message index contains at least one non-excluded ToolCall group.

public static Microsoft.Agents.AI.Compaction.CompactionTrigger HasToolCalls();
static member HasToolCalls : unit -> Microsoft.Agents.AI.Compaction.CompactionTrigger
Public Shared Function HasToolCalls () As CompactionTrigger

Returns

A CompactionTrigger that evaluates included tool call presence.

Applies to