summarize_output
Condenses large logs, command output, and file dumps into short summaries using a local Ollama model, keeping full text out of the caller's context.
Instructions
Condenses large text (logs, command output, file dumps) into a short summary using a local Ollama model, so the full text never has to enter the caller's own context. Pass text, or repository_root + path to read a file inside the bridge.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "summarize_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File (log, source) under repository_root, read here so it stays out of the caller's context. Max 2 MB. | |
| text | No | The large text to summarize. Omit when using repository_root + path. | |
| focus | No | What to focus on, e.g. 'errors and failing tests only'. | |
| model | No | The Ollama model tag to invoke. Use list_ollama_models to see what's pulled. | qwen-context:h-q4_0-24k |
| format | No | Constrain output: "json" for any JSON, or a JSON Schema object to force an exact shape. | |
| num_ctx | No | Context override; inherits the model setting when omitted. | |
| timeout_ms | No | Request deadline in milliseconds; defaults to the server's configured deadline (120 seconds by default). | |
| num_predict | No | Output ceiling override; defaults to the smaller of the saved model ceiling and 8192 tokens. | |
| repository_root | No | Absolute directory that confines `path`; required with `path`. |