Skip to content
DEV Community · AI· Pierre-Laurent Medori·· 7d agoAI Score63

Anthropic’s Python SDK Can Drop append From Truncated Tool Calls

A tool call cut at "append":tru came back as valid JSON, without append

AI Takeaway

Anthropic’s Python SDK 1.14.0 uses jiter 0.18.0, which can drop a truncated append value but leave write_file executable. An output token limit still produces message_stop, so GoodBarber now validates raw JSON arguments before execution to prevent unintended overwrites.

Source: DEV Community · AI · dev.to