# Class LittleGhost::MalformedToolCallError

Documentation version: Edge

Canonical HTML: https://littleghostai.org/docs/LittleGhost/MalformedToolCallError.html

Raised when a model returns an invalid tool-call representation.

## Inheritance

`LittleGhost::MalformedToolCallError < LittleGhost::ProtocolError`
