Post-processing Tool OutputsΒΆ

Intelligent output processing for ToolUniverse

The ToolUniverse Hooks system provides automatic post-processing of tool outputs. Use hooks to summarize long results, save large outputs to files, and customize behavior per tool or workflow.

Topic summaries

  • SummarizationHook: Automatically condenses long tool outputs into concise, high-signal summaries. Useful for literature results, large datasets, and multi-step workflows.

  • FileSaveHook: Saves large outputs to disk with metadata for later processing and sharing. Ideal for heavy payloads, audit trails, and external pipelines.

  • Hook Configuration: Configure which hooks run, when they trigger, and how they behave. Supports thresholds, per-tool rules, and advanced options.

  • Server and Stdio Hook Integration: How to use hooks in server (HTTP/SSE) and stdio modes. Covers CLI flags, Python API, defaults, and best practices.