ToolCalls
Example Usage
typescript
import { ToolCalls } from "@meetkai/mka1/models/components";
let value: ToolCalls = {
id: "<id>",
type: "function",
function: {
name: "<value>",
arguments: "<value>",
},
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | The ID of the tool call |
type | "function" | ✔️ | The type of the tool. Currently only 'function' is supported. |
function | components.OpenAIRequestMessageFunction | ✔️ | The function to be called |