Skip to main content

Function: restoreSearchResultBlocks()

restoreSearchResultBlocks(body): number

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

Restore every carried search result in an Anthropic Messages request body: inside tool results and in a user message's own content. Returns how many were restored; the body is changed in place.

Parameters​

body​

unknown

Returns​

number