Function: countToolCacheBreakpoints()
countToolCacheBreakpoints(
tools?):number
Defined in: packages/core/src/prompt-cache.ts:158
How many always-loaded tools already carry an Anthropic cache stamp. Deferred / provider tools are not in the initial tools prefix, so they do not consume a breakpoint on the first request.
Parameters
tools?
Record<string, unknown> | null
Returns
number