Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

Scripted agent starts now explain their input limits when they fail

A scripted agent() call with invalid input now fails with an error listing the limits, and workflow() tells you to use agent() instead

You'll notice Improvements
JSON All of v2.1.337
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
WorkflowsArea: what it touches
ImprovementsKind: in v2.1.337,
ImprovementsSection of the release

Unclear It is not clear which sessions offer agent() and workflow(), or whether ordinary users can reach them.

What

Claude Code has a scripted way to start agents (separate helper sessions that each work on a task) by calling agent(). When the input given to agent() is not valid, it now stops with an error that spells out what the session accepts:

  • disallowedTools: tool names only, 512 at most
  • model: a model id
  • a schema: 262,144 characters at most
  • an agent type: 4,096 characters at most
  • a bash command clamp: not accepted in this session

A call to workflow() in the same session is turned away with: "workflow() can't be used in this session. Start the agents with agent()."

Why

When a scripted agent fails to start, the error now says which limit was broken.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear which sessions offer agent() and workflow(), or whether ordinary users can reach them.

See this entry in the whole of v2.1.337 →

Feedback