Expand description
Format ToolOutput to text using the format pipeline.
This module bridges the executor’s typed output with the pipeline’s text formatting. Supports TOON (default) and JSON output formats.
Structs§
- Format
Metadata - Metadata about formatting result — compression stats, token estimates.
- Format
Result - Result of formatting a tool output — content + metadata.
Functions§
- execute_
and_ format - Convenience: execute a tool and format the output in one call.
- format_
output - Format a
ToolOutputto text using the pipeline.