{"version":"2.1.296","anchor":"new-env-gated-check-for-declared-web-search-citations","canonical_anchor":"new-env-gated-check-for-declared-web-search-citations","heading":"New CLAUDE_CODE_WEBSEARCH_CITATIONS_DECLARED setting for web search citations","tier":"use","area":"Web Search","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.296\/e\/new-env-gated-check-for-declared-web-search-citations","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.296","markdown":"### New `CLAUDE_CODE_WEBSEARCH_CITATIONS_DECLARED` setting for web search citations\n\nA new environment variable, CLAUDE_CODE_WEBSEARCH_CITATIONS_DECLARED, joins the existing web search citations switch\n\n**Unclear.** What setting this variable changes in web search answers, and which conditions it needs, is not established.\n\n**What**\n\nAn environment variable is a setting you give a program from your shell before starting it. Claude Code now recognises `CLAUDE_CODE_WEBSEARCH_CITATIONS_DECLARED`, listed next to the existing `CLAUDE_CODE_WEBSEARCH_CITATIONS`.\n\nSetting it is not enough on its own: Claude Code acts on it only when one other condition holds and a further one does not.\n\n**Why**\n\nIt is a second switch for web search citations, related to how citations are declared when Claude Code sends a request to the API.\n\n- Area: Web Search\n- Names: `CLAUDE_CODE_WEBSEARCH_CITATIONS_DECLARED`, `CLAUDE_CODE_WEBSEARCH_CITATIONS`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}