L Loach Docs
Ctrl K

Built-in tools

A set of small, local utilities the model can call mid-answer through the same tool-call loop as MCP. They run entirely in Rust on your machine - no network, and apart from the file tools, nothing that touches your files.

How they work

Each tool has its own switch in Settings → Tools, and every one is off by default - turn on only what you want a given model to reach for. The onboarding wizard’s Tools step proposes a Recommended set (everything except the four developer-only tools - Hash, UUID, Base64 and IP / CIDR - and Workspace files, which switches itself on when you pick a folder) with All OFF / Recommended / All ON presets. Continue saves the switches exactly as shown; Skip saves only the ones you changed.

When the model uses a tool, the call shows up in a collapsible block above the answer - “Called N tools”, or “Called calculate tool” for a single call - where you can inspect its arguments and result. Built-in tools never ask before they run; the only exceptions are the file tools that change files (see below).

Loach offers the switched-on tools to whichever model you are chatting with, so the model has to support tool calling to use them. Many local models do, but not all - with Ollama, a model without tool support fails the request with an error saying it does not support tools. Pick a different model, or switch the tools off.

The tools

Each entry gives the switch’s name in Settings → Tools, then the tool name the model sees.

Web fetch has a switch on the same tab but is not a tool the model calls: Loach fetches the URLs in your message before the request goes out.

PDF generation

The pdf tool turns a structured spec - headings, paragraphs, bulleted and numbered lists, simple tables, horizontal rules and page breaks - into a real A4 PDF. The result lands in the chat as a previewable, savable attachment, so you can ask the model to draft a document and pull it straight out. The bundled font covers Latin-script text only - European accents included - plus common punctuation and currency symbols. Cyrillic, Greek, CJK, emoji and anything else outside it print as ?, and the tool tells the model how many characters were replaced so it can let you know. A document can run to 200 pages, counted as they print. The title becomes the file name, keeping its letters in any script. Images and merging existing PDFs are not supported.

Limits

Local and private

Built-in tools never touch the network, and only the file tools touch your files. Even so, Private Chat doesn’t offer them: like MCP tools, they are left out there, because its window has nowhere to show a tool call, its result or a PDF the model makes.