tooluniverse.tools.ToolOutputSummarizer moduleΒΆ

ToolOutputSummarizer

AI-powered tool for summarizing long tool outputs, focusing on key information relevant to the or…

tooluniverse.tools.ToolOutputSummarizer.ToolOutputSummarizer(tool_output, query_context, tool_name, focus_areas='key_findings_and_results', max_length=32000, *, stream_callback=None, use_cache=False, validate=True)[source]ΒΆ

AI-powered tool for summarizing long tool outputs, focusing on key information relevant to the or…

Parameters:
  • tool_output (str) – The original tool output to be summarized

  • query_context (str) – Context about the original query that triggered the tool

  • tool_name (str) – Name of the tool that generated the output

  • focus_areas (str) – Specific areas to focus on in the summary

  • max_length (int) – Maximum length of the summary in characters

  • stream_callback (Callable, optional) – Callback for streaming output

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any