llama.cpp 1.1.0 lets local agents select a specific tool

Conceptual diagram: automatic selection lets the model choose a tool; named selection lets the application specify a tool. Both paths require application checks of arguments, access rights and approval before execution.

On November 26, 2026, the llama.cpp project released version 1.1.0. One useful change for developers building private AI assistants is support for requesting a specific named tool through the server’s OpenAI-compatible interface, instead of silently falling back to automatic tool selection.

This is a practical improvement when a local assistant must perform one known step, such as looking up an invoice before answering a customer’s question. It does not give the model permission to access the invoice or execute an action.

What changed in the stable release?

In the earlier implementation described by the maintainer, a request naming a particular function was treated as automatic selection. The new implementation constrains the generated call to the requested function on supported parser paths. The official 1.1.0 release notes also document new model and audio support, server scheduling changes, and deprecation of the old batch API.

For example, an invoice assistant may expose a read-only lookup and a separate draft generator. If the application already knows that a lookup is the next required step, it can request that function explicitly rather than relying on the model to infer the next action.

Automatic versus named selection

Request Decision Application responsibility
Automatic The model chooses from available tools. Validate the proposed call and decide whether it may run.
Named function The supported parser constrains the call to the selected function. Validate arguments, access rights and any required approval.

Illustrative request fragment (the application must also supply its model, messages and matching tool definition):

"tool_choice": {"type": "function", "function": {"name": "lookup_invoice"}}

What the implementation tests establish

The named-tool implementation pull request reports 16 successful selections for each of four model configurations: Qwen3-0.6B, Qwen3.6-27B, Nemotron Super 3.5 120B-A12B and Nemotron Bolt 3.5 74B-A9B. That is 64 successful selections in 64 contributor-reported test cases, with variations in streaming, thinking and parallel tool-call settings.

Those results test selection under deliberately conflicting prompts. They do not establish invoice accuracy, resistance to every prompt injection, or correct authorization. The implementation notes identify the automatic parser and Qwen3-Coder parser as the tested paths. Verify the parser used by the actual model before relying on this feature.

Can you build a paid private document assistant on a Mac?

A possible product is a document-search assistant that performs a read-only lookup before drafting a response. Running inference locally can keep model inputs on the machine if the application, storage and tools also remain local. Remote connectors, telemetry or external services can still transmit information. A 128 GB Mac provides memory headroom, not a guarantee that every model fits or meets a customer latency target. Model weights, context cache, runtime overhead and concurrent requests all matter.

Start with a supported smaller model and a synthetic invoice dataset. Compare the selected tool, argument validity and end-to-end time across the same requests with automatic and named selection. Do not connect a write-capable billing action until access checks, approval and duplicate prevention are tested independently.

For a native C/C++ integration, review the batch API deprecation and migration guide change before upgrading. A service using the HTTP interface still needs a compatibility check against its current model and client.

Evidence: Release metadata records publication at 09:16:47 UTC on November 26, 2026. The comparison and example are INGOAMPT explanations based on the release and implementation notes. We did not independently execute the model tests or measure Apple silicon speed. See also AI News for independent developers.