Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.327 ·

SDK can send settings and disallowed tools in the initialize request, with a hard failure if they don't arrive

New --initialize-fields and SDK delivery options let settings and disallowedTools travel in the initialize request, and startup refuses if they aren't confirmed

Group of 4 Use it now Internal Changes
JSON All of v2.1.327
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
SDKArea: what it touches
Internal ChangesKind: in v2.1.327,
What probably matters to youSection of the release

Unclear How a host program switches these two options on is not known.

What

The Agent SDK is the toolkit programs use to run Claude Code. When it starts Claude Code, the two exchange an "initialize" message before any prompt is sent. Your settings and your deny rules (disallowedTools, the list of tools or tool uses Claude is not allowed to make) can now travel in that message instead of on the command line. Before, only managed settings and MCP servers (managedSettingsDelivery, mcpServersDelivery) could be sent this way.

  • --initialize-fields is a new CLI flag taking settings and/or disallowedTools. It requires --await-initialize and stream-json input, and reads the named values from the initialize request instead of from flags. Passing the same value by its own flag too (--settings, --disallowedTools) is an error.
  • The initialize request can now carry a settings JSON object and a disallowedTools list of strings. Each is checked when named in --initialize-fields, and a malformed value returns a violation error.
  • settingsDelivery and disallowedToolsDelivery are new SDK options, set to 'argv' (the default) or 'initialize'. Any other value gives "Invalid settingsDelivery. Expected 'argv' or 'initialize'."
  • settingsViaInitialize and disallowedToolsViaInitialize make the SDK add --initialize-fields, and the SDK then stops putting --disallowedTools on the command line. The check for whether Claude Code reads initialize at startup now counts these options too.
  • The initialize response gains settings_applied and disallowed_tools_applied, which say whether the values sent match the ones taken at launch. A host that sent them must not send a prompt until the value is true.
  • If Claude Code does not confirm them, or does not answer initialize at all, the SDK ends the session with an error and the prompt is not sent.
  • initialize_fields_not_delivered is a new startup refusal reason, alongside managed_settings_not_delivered. Claude Code refuses to start when the named fields can't be taken from the initialize request, or when a named field's own flag is also passed.

Why

Programs that run Claude Code can pass settings and deny rules over its input stream instead of the command line. If the values do not arrive, for example against an older Claude Code, the session stops with an error rather than running without your deny rules.

Read from
Names in the bundlesettingsdisallowedTools
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 disallowedTools, on Manage sessions. * **Tool access**: `--tools`, `--allowedTools`, `--disallowedTools` sessions see the edit
Confirmed since Anthropic's documentation has since written up settings, on PDF Processing. **Custom Skills** let you package domain expertise and organizational knowledge. Create them in Claude Code, upload them through the [Skills API](https://platform.claude.com/docs/en/build-with-claude/skills-guide), or add them in claude.ai… agents-and-tools/agent-skills/overview see the edit
Added since A small documentation edit on claude-tag touched a line naming settings after this was published. <template data-mint="manifest">{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Claude.ai Documentation","colors":{"primary":"#0E0E0E","light":"#D4A27F","dark":"#0E0E0E"},"logo":{"light":"https://mintcdn.com… claude-tag see the edit
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 doubtHow a host program switches these two options on is not known.
Anthropic's documentation agreesA small documentation edit on claude-tag touched a line naming settings after this was published.

See this entry in the whole of v2.1.327 →

Feedback