@sisu-ai/tool-summarize-text
v9.0.0
Published
A utility tool that asks the active model to summarize large text bodies into concise outputs. Designed for use alongside `webFetch` or other content tools.
Maintainers
Readme
Summarize Text Tool
A utility tool that asks the active model to summarize large text bodies into concise outputs. Designed for use alongside webFetch or other content tools.
Tool
summarizeText— Summarize a giventextwith optional controls for length and style.
Args
text(string, required): The input to summarize.target("short"|"medium"|"long", optional): Coarse target length. Defaultmedium.maxChars(number, optional): Hard cap for output characters.bullets(boolean, optional): Prefer bullet-point output.includeCitations(boolean, optional): Keep/collect URLs in the summary when present.focus(string, optional): Guidance on what to emphasize.
Notes
- Uses
ctx.model.generateinternally withtoolChoice:'none'to avoid nested tool calls. - For very long inputs, applies a simple map-reduce (chunk→summary→combine) approach.
Community & Support
Discover what you can do through examples or documentation. Check it out at https://github.com/finger-gun/sisu. Example projects live under examples/ in the repo.
