Delegate to local LLM
local_llmRun instructions on local Ollama models over specified files to summarize logs, diffs, docs, or draft text without loading file contents into your context.
Instructions
Run an instruction on a LOCAL model (Ollama on this machine's GPU) over optional files, so their contents never enter your context. Use it to save tokens on bulk reading and first drafts: summarizing long CI logs, diffs, build output or docs, extracting the relevant lines from a big file, or drafting a report/changelog section from notes (write drafts with output_path). Do NOT use it for code edits, security or correctness decisions, or anything you'll state as fact without checking: the output comes from a much weaker model and is unverified. Spot-check it against the source before relying on it. Files must be under the server's allowed roots.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instruction": "<instruction>"
},
"name": "local_llm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | gpt-oss:20b (default; best for long documents) or qwen3:14b (lighter; good for structured/JSON output) | |
| paths | No | Absolute paths of text files to include as input | |
| overwrite | No | Allow output_path to replace an existing file | |
| instruction | Yes | What to do, e.g. 'List every failing test and its error in one line each' | |
| output_path | No | Write the result to this .md or .txt file (not inside .git) and return only a short confirmation |