{"version":"2.1.323","anchor":"web-search-citation-reminder","canonical_anchor":"websearch-citations-get-a-token-budget-aware-snippet-cap","heading":"Web search citation mode gets a snippet size cap and a reminder to cite","tier":"use","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/web-search-citation-reminder","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### Web search citation mode gets a snippet size cap and a reminder to cite\n\nWith CLAUDE_CODE_WEBSEARCH_CITATIONS set, search snippets are capped by remote values and Claude is reminded to cite results it used\n\n**What**\n\n`CLAUDE_CODE_WEBSEARCH_CITATIONS` is an environment variable, a setting you put in your shell before starting Claude Code. When it is set, web search results are passed to Claude in a form it can cite. Two things change in that mode:\n\n- **Snippet size cap.** Search results are no longer always trimmed the same way. Each snippet now has a size cap taken from a remotely controlled value, `tengu_lexical_cupcake`. A second remote value, `tengu_curried_shore`, can make the cap smaller. When it is above 0 and the conversation already holds enough search results to reach that fraction of the compaction threshold, the cap shrinks. The compaction threshold is the size at which Claude Code condenses older parts of the conversation to make room. Nothing has been read about either value yet, which does not mean they are off.\n\n- **Citation reminder.** If Claude's last reply after a web search contains text but no citations, Claude Code adds a reminder telling Claude it must cite the search results for each claim taken from them. This needs both the environment variable and a remote switch, `tengu_starry_pebble_enabled`, which counts as off when it cannot be read. The flag server returned that switch as on, both for this site's account and for an anonymous account, in readings first seen on 2026-11-11. No reading has been taken under this release yet.\n\nWithout the environment variable, results are still sent as a plain title and address. The stock description of the `WebSearch` tool is unchanged in this release, according to a capture taken under this release.\n\n**Why**\n\nIn long sessions with many searches, capped snippets keep search results from filling the conversation and forcing an early condensing step. The reminder pushes Claude to name its sources when it answers from search results, so you can check where a claim came from.\n\n- Flag `tengu_starry_pebble_enabled`: Off by default, switched on for this account (read for one account on one subscription tier against v2.1.323; this account: on, anonymous baseline: on, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Elsewhere\n- Tier: Use it now\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}