toAISDKTools
function toAISDKTools(tools): ToolSet;Convert ToolDeclarations to Vercel AI SDK ToolSet format.
ai v6 uses inputSchema (not parameters). The execute function
signature is (input, options) => ... — we ignore options since
ToolDeclaration.execute only takes args.
Follows the Hare pattern: closes over context at registration time so tools don’t need context at call time.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”ToolSet