Better Models: Worse Tools
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Prime Big Deal Days · Oct 6–7Offer from Amazon

Get the latest gadgets delivered free — and shop member deals

  • Fast, free delivery on millions of items
  • Access to Prime Big Deal Days deals on October 6–7
  • Prime Video, Amazon Music and more included
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

Recent observations indicate that the newest AI language models from Anthropic are generating more malformed tool call requests, especially in complex multi-turn interactions. This challenges assumptions that larger, more advanced models automatically improve in all operational aspects.

Recent testing of Anthropic’s latest models, Opus 4.8 and Sonnet 5, shows they increasingly produce malformed tool call requests with extra, invented fields, despite their advanced training. This issue is notable because it suggests that more powerful models are not necessarily better at following tool invocation schemas, which could impact their reliability in practical applications.

Over the past two days, users and researchers have observed that newer Anthropic models sometimes generate tool call requests with extraneous or nonsensical fields, such as ‘type’, ‘id’, ‘requireUnique’, and others, which do not conform to the expected schemas. This problem appears more prevalent in models like Opus 4.8 and Sonnet 5, compared to older versions, which rarely exhibited such issues.

The problem manifests primarily during multi-turn interactions where models read file contents, diagnose issues, and then produce complex, multi-line edits. In these contexts, malformed requests occur approximately 20% of the time, especially when the model has a history of reading and editing files. Researchers note that turning on strict tool invocation constraints reduces or eliminates these errors.

At a glance
reportWhen: ongoing; observations made from July 20…
The developmentThe latest Anthropic models, Opus 4.8 and Sonnet 5, are producing more frequent invalid tool calls with extra, invented fields, unlike older models, raising concerns about model reliability.

Implications for AI Reliability in Tool Usage

This development raises concerns about the reliability of advanced language models when performing precise, schema-dependent tasks such as code editing, data manipulation, or API interactions. If models produce invalid tool calls, it could lead to failures in automation workflows, reduce trust in AI-assisted programming, and complicate integration efforts for developers relying on these models.

Amazon

API testing tools for developers

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Evolution of Model Tool-Calling Capabilities

Anthropic’s earlier models, trained before the widespread deployment of integrated coding tools, rarely exhibited such issues. The newer models, including Opus 4.8 and Sonnet 5, are likely trained with or fine-tuned on datasets that include code and tool-harness interactions, such as Claude Code. This training shift may have inadvertently introduced the tendency to generate malformed or overly complex tool call requests, especially in multi-turn, context-rich scenarios.

Observers note that this problem is not universal but appears more in specific interaction patterns, particularly those involving complex file edits and diagnostic reasoning. The issue seems to be linked to the models’ internal representation of tool invocation schemas and their learned conventions.

“The newer models are learning to call tools in increasingly complex ways, but it seems they’re also inventing extra fields that break the schema validation. It’s a worrying sign of overfitting to training patterns.”

— Researcher familiar with model training

Amazon

AI tool schema validation software

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Unclear Causes Behind the Increasing Malformed Calls

It is not yet confirmed whether the issue stems from training data artifacts, model architecture changes, or a combination of both. The exact internal mechanisms that lead to the generation of extra, nonsensical fields in tool calls remain unverified, and further investigation is ongoing.

Amazon

code editing automation tools

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Monitoring and Improving Tool Call Robustness

Researchers and developers plan to conduct controlled experiments to isolate the causes of malformed tool calls and develop mitigation strategies, such as enhanced schema validation, constrained decoding, or training adjustments. Expect updates from Anthropic and the broader AI community as they address these reliability concerns in upcoming model releases.

Amazon

multi-turn interaction debugging tools

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

Why are newer models producing more malformed tool calls?

It is likely related to training data artifacts or the models’ internal learned conventions, especially as they incorporate more complex code and tool interaction patterns. The exact cause is still under investigation.

Does this mean the models are less reliable overall?

Not necessarily. The issue is specific to tool invocation schemas and complex multi-turn interactions. Basic tasks and simpler prompts still perform well, but reliability in schema-dependent tasks may be compromised.

Can this problem be fixed with current techniques?

Preliminary results suggest that constraining decoding or enforcing strict invocation rules can reduce or eliminate malformed calls. Further research is needed to develop comprehensive solutions.

Will this affect future AI model releases?

It is likely that model developers will prioritize addressing this issue in upcoming releases, especially as tool use becomes more central to AI capabilities and applications.

Source: Hacker News

FALL

Fall Picks

As an affiliate, we earn on qualifying purchases.

You May Also Like

Show HN: adamsreview – better multi-agent PR reviews for Claude Code

New plugin ‘adamsreview’ offers advanced multi-agent code reviews for Claude Code, improving bug detection and reducing false positives in pull requests.

Alexa is moving into Amazon.com

Amazon is launching Alexa for Shopping, embedding its AI assistant directly into Amazon.com and the app, enhancing the shopping experience with AI-powered features.

Intel hires former SK hynix chief Seok-Hee Lee to lead Intel Foundry advanced packaging — company establishing section as ‘focused business with dedicated leadership’

Intel appoints Seok-Hee Lee, former SK hynix CEO, to oversee advanced packaging at its foundry unit, signaling a strategic shift in back-end technology.

Intel Core Ultra 5 250K Plus vs AMD Ryzen 5 7600X3D faceoff — Battle for the fastest mid-range gaming CPU

Comparison of Intel’s Core Ultra 5 250K Plus and AMD Ryzen 5 7600X3D reveals performance and gaming differences, targeting mainstream users and gamers.