Skip to main content

ToolCall

@codebolt/codeboltjs


Interface: ToolCall

Defined in: packages/codeboltjs/src/types/libFunctionTypes.ts:71

Represents a tool call in OpenAI format

Properties

PropertyTypeDescriptionDefined in
function{ arguments: string; name: string; }Function call detailspackages/codeboltjs/src/types/libFunctionTypes.ts:77
function.argumentsstringArguments for the function call as JSON stringpackages/codeboltjs/src/types/libFunctionTypes.ts:81
function.namestringName of the function to callpackages/codeboltjs/src/types/libFunctionTypes.ts:79
idstringUnique identifier for this tool callpackages/codeboltjs/src/types/libFunctionTypes.ts:73
type"function"The type of tool callpackages/codeboltjs/src/types/libFunctionTypes.ts:75