# Tool Call Salvage

Removes tool-call markup that a model wrote into its final reply as text instead of calling the tool.

- Type: Plugin
- Version: 0.2.0
- Updated: 22 Nov 2026
- Publisher: Julientalbot
- Category: Models

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Removes tool-call markup that a model wrote into its final reply as text instead of calling the tool (Qwen \<function=...\>, \<invoke\>, DeepSeek DSML and tool tokens, Harmony, Kimi, Mistral and Llama formats). Only complete markup that ends the reply is touched; code blocks and markup followed by more text are left as they are.

When text is left before the removed markup, a one-line notice names the tools that were not run. An optional salvage mode, off by default and limited to the models you list, turns the markup into a real call to a tool offered in that request.

Disclosure: no network, files, shell, subprocesses, telemetry or stored state; logs name the format and tools, never arguments; in salvage mode text the model wrote can become a real tool call (tools offered in the request, or Ulpi's tool_call bridge when deferred_tools is on), run through Ulpi's normal approvals.

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Models

- [tsubasa](https://www.ulpi.io/en/marketplace/plugins/tsubasa): Tsubasa OpenAI-compatible model provider (tool calling not supported yet).
- [Understudy](https://www.ulpi.io/en/marketplace/plugins/understudy): Audition cheaper models on your real Ulpi history before you switch.
- [wallaby-provider](https://www.ulpi.io/en/marketplace/plugins/wallaby-provider): Wallaby Token — curated open-weight inference (Kimi K3); adds Wallaby to the ulpi model provider list.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
