Tool call objects

interface RequiredActionFunctionToolCall {
    function: OpenAIClient.Beta.Threads.Runs.RequiredActionFunctionToolCall.Function;
    id: string;
    type: "function";
}

Properties

Properties

The function definition.

id: string

The ID of the tool call. This ID must be referenced when you submit the tool outputs in using the Submit tool outputs to run endpoint.

type: "function"

The type of tool call the output is required for. For now, this is always function.