The engine could not read a tool call

A tool call in the conversation is malformed, and how to get past it.

What it means

A model uses a tool by writing a structured call: the tool's name and its arguments. The engine checks every call in the conversation before it answers, and when one is malformed, for example a call with no type or with arguments it cannot parse, it refuses the whole request rather than guess.

The bad call may be one the model has just written, or one that is already in the history of the chat, in which case sending again fails the same way.

What to do

  • Send the message again. A one-off slip usually does not repeat.
  • Start a new chat if it keeps failing. That removes the malformed call from the history.
  • Use a larger model, or switch some tools off. A small model with many tools on may not call them reliably.

Still stuck

Settings → Diagnostics → Open log folder holds the logs. For a bug report, Settings → Diagnostics → Export diagnostics saves a zip file with them. It replaces your home folder and user name, but read it before you share it. Open an issue with the message you saw and that file, or read Troubleshooting.

Go home