ToolResultCompactionStrategy.DefaultToolCallFormatter 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.
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
- group
- CompactionMessageGroup
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.