ToolResultCompactionStrategy.DefaultToolCallFormatter Method

Definition

The default formatter that produces a YAML-like summary of tool call groups, including tool names, results, and deduplication counts for repeated tool names.

public static string DefaultToolCallFormatter(Microsoft.Agents.AI.Compaction.CompactionMessageGroup group);
static member DefaultToolCallFormatter : Microsoft.Agents.AI.Compaction.CompactionMessageGroup -> string
Public Shared Function DefaultToolCallFormatter (group As CompactionMessageGroup) As String

Parameters

Returns

Remarks

This is the formatter used when no custom ToolCallFormatter is supplied. It can be referenced directly in a custom formatter to augment or wrap the default output.

Applies to