Skip to content

AIDK API Reference / aidk-ai-sdk / mapToolResultToContentBlocks

Function: mapToolResultToContentBlocks() ​

ts
function mapToolResultToContentBlocks(result: any): ContentBlock[];

Defined in: packages/adapters/ai-sdk/src/adapter.ts:1195

Parameters ​

ParameterType
resultany

Returns ​

ContentBlock[]

Released under the MIT License.