local_summarize
Summarize large files or text with a local model to save context: pass a path for server-side reading or text, and get a focused summary without loading full content into Claude.
Instructions
PREFER this tool over reading the file with Read when the file is large (>200 lines / >10 KB) and you only need a summary, not the literal content.
Summarizes text or the content of a file with a local model, without spending Claude's context.
Use it to summarize large files/documents: pass 'path' and the file is read server-side, so
the full content does NOT enter Claude's context (only the short summary comes back).
Alternatively pass 'text'. Routes automatically to the mechanical model (short inputs) or to
the long-context model (large documents).
Args:
text: Text to summarize (use this or 'path').
path: Path to a file whose content is summarized (read server-side).
max_words: Maximum length of the summary in words.
focus: Optional. What you care about in the document (e.g. "configuration figures",
"risks"): the summary prioritizes it and keeps its concrete data verbatim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| text | No | ||
| focus | No | ||
| max_words | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |