Skip to main content

Variable: SEARCH_RESULT_CARRIER

const SEARCH_RESULT_CARRIER: "⁣bb:search_result⁣" = '\u2063bb:search_result\u2063'

Defined in: packages/core/src/utils/tool-content.ts:72

AI SDK's Anthropic provider has no tool-result part for a search result, so on an Anthropic route a search result rides AI SDK as one text part that starts with this mark followed by the block's JSON, and withSearchResultBlocks (installed on every Anthropic model the resolver builds) turns it back into the block on the request body — the bytes Claude receives are Anthropic's own search_result block, unchanged. The mark is two invisible separators around a name no text would carry.