-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathmessage-tool-call.ts
More file actions
32 lines (31 loc) · 924 Bytes
/
message-tool-call.ts
File metadata and controls
32 lines (31 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved.
*
* This is a generated file powered by the SAP Cloud SDK for JavaScript.
*/
/**
* 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>;