{"version":"2.1.333","anchor":"claude-code-extra-body-drops-a-thread-field","canonical_anchor":"claude-code-extra-body-drops-a-thread-field","heading":"CLAUDE_CODE_EXTRA_BODY can no longer set a thread field","tier":"notice","area":"Environment Variables","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/claude-code-extra-body-drops-a-thread-field","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### `CLAUDE_CODE_EXTRA_BODY` can no longer set a `thread` field\n\nA top-level `thread` key in `CLAUDE_CODE_EXTRA_BODY` is now removed from requests, with a warning that only Claude Code sets it\n\n**What**\n\n`CLAUDE_CODE_EXTRA_BODY` is an environment variable that holds a JSON object Claude Code merges into every request it sends. If that object has a top-level `thread` key, Claude Code now removes it before sending and logs this warning:\n\nCLAUDE_CODE_EXTRA_BODY thread: dropped. Only Claude Code itself sets that field.\n\nOther keys are unaffected.\n\n**Why**\n\nIf you pass a `thread` field through `CLAUDE_CODE_EXTRA_BODY`, it no longer reaches the request. Check the log for the warning if something that relied on it stops working.\n\n- Area: Environment Variables\n- Names: `CLAUDE_CODE_EXTRA_BODY`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}