UNPKG

@sap-ai-sdk/orchestration

Version:

SAP Cloud SDK for AI is the official Software Development Kit (SDK) for **SAP AI Core**, **SAP Generative AI Hub**, and **Orchestration Service**.

27 lines 866 B
/** * Representation of the 'MessageToolCall' schema. */ export type MessageToolCall = { /** * The ID of the tool call. */ id: string; /** * The type of the tool. Currently, only `function` is supported. */ type: 'function'; /** * The function that the model called. */ function: { /** * The name of the function to call. */ name: string; /** * The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function. */ arguments: string; } & Record<string, any>; } & Record<string, any>; //# sourceMappingURL=message-tool-call.d.ts.map