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 summarizedquery_context (
str) – Context about the original query that triggered the tooltool_name (
str) – Name of the tool that generated the outputfocus_areas (
str) – Specific areas to focus on in the summarymax_length (
int) – Maximum length of the summary in charactersstream_callback (
Callable, optional) – Callback for streaming output
- Return type:
dict[str,Any]