CompactionTriggers.HasToolCalls Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.