{"version":"2.1.332","anchor":"json-argument-limits-for-long-lists-add-two-new-error-messag","canonical_anchor":"json-argument-limits-for-long-lists-add-two-new-error-messag","heading":"Two new errors for tool calls that carry very long lists","tier":"notice","area":"Tool Calls","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/json-argument-limits-for-long-lists-add-two-new-error-messag","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Two new errors for tool calls that carry very long lists\n\nTool calls with very long lists now fail with one of two new errors that suggest sending the items in several calls or as base64 text\n\n**What**\n\nWhen Claude Code checks the arguments of a tool call (the data the model passes to one of its tools) before sending them on, it now has two new errors on top of the existing \"too large\" and \"nested too deep\" ones:\n\n- Too long: the JSON text is too long for arguments that contain a long list.\n\n- Too many items: typed arrays (lists of raw numeric data) and long lists hold too many items when counted together.\n\nThe messages say what to do instead: send the items in several calls, or pass raw bytes as base64 text (a way of writing binary data as ordinary letters and digits).\n\n**Why**\n\nA tool call with a very large list now fails with advice on how to split it up, so the model can retry in a way that works.\n\n- Area: Tool Calls\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}