cercano-summarize · git:20260320.2230dc3 · 2026-03-20 · sha256 e8072e04215ac141
cercano-summarize git:20260320.2230dc3A
Immutable. This exact content never changes and is served at /api/v1/blob/e8072e04215ac141.
---
name: cercano-summarize
description: Summarize text or files using local AI via Cercano without sending content to the cloud. Use this to distill large files, logs, diffs, documents, or any lengthy text into a concise summary. Supports brief, medium, and detailed summary lengths. Runs entirely on local models for privacy.
compatibility: Requires Cercano server running and connected to an Ollama instance.
---
# Cercano Summarize
Summarize text or files using local AI inference.
## MCP Tool
**Tool name:** `cercano_summarize`
## Parameters
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | No* | Raw text to summarize. Provide either `text` or `file_path`. |
| `file_path` | string | No* | Path to a file to read and summarize. Provide either `text` or `file_path`. |
| `max_length` | string | No | Target summary length: `"brief"` (1-2 sentences), `"medium"` (1 paragraph, default), or `"detailed"` (multiple paragraphs). |
*One of `text` or `file_path` is required.
## Examples
**Summarize text:**
```json
{
"text": "The quick brown fox... [long text here]",
"max_length": "brief"
}
```
**Summarize a file:**
```json
{
"file_path": "/project/docs/architecture.md",
"max_length": "detailed"
}
```