Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.304 ·

--json-schema help now says it only works with --print

The help text for --json-schema now notes that it only works together with --print

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

The help text for the --json-schema flag, which checks Claude's output against a JSON Schema, now says it only works with --print. A flag is an option you add to the claude command; --print prints a response without the interactive screen.

Why

Only the help text changed, not how the flag behaves.

Read from
Names in the bundle--print
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up --print, on Model configuration. * Levels above the cap aren't offered in the `/effort` picker, and naming a higher level with `--effort` or `/effort` runs at the cap instead. If you start a plain-text `--print` run with `--effort` above the cap, a warning on stderr names… model-config see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --print, on Model configuration.
Anthropic's release notes agreeFixed claude --help text for --tools, --resume, --debug, --json-schema, --disable-slash-commands, --system-prompt-snapshot and claude update…

See this entry in the whole of v2.1.304 →

Feedback