pub fn format_output(
output: ToolOutput,
format: Option<&str>,
_tool_name: Option<&str>,
config: Option<PipelineConfig>,
) -> Result<FormatResult>Expand description
Format a ToolOutput to text using the pipeline.
Returns FormatResult with content and metadata (compression stats, token estimates).
§Arguments
output— typed result from executorformat— output format string (“toon”, “json”), defaults to “toon”tool_name— tool name (reserved for future strategy resolution)config— optional pipeline config override