Skip to main content

ToolCall

@codebolt/types


Interface: ToolCall

Defined in: common/types/src/codeboltjstypes/libFunctionTypes/llm.ts:35

Represents a tool call in OpenAI format

Properties

PropertyTypeDescriptionDefined in
function{ arguments: string; name: string; }Function call detailscommon/types/src/codeboltjstypes/libFunctionTypes/llm.ts:41
function.argumentsstringArguments for the function call as JSON stringcommon/types/src/codeboltjstypes/libFunctionTypes/llm.ts:45
function.namestringName of the function to callcommon/types/src/codeboltjstypes/libFunctionTypes/llm.ts:43
idstringUnique identifier for this tool callcommon/types/src/codeboltjstypes/libFunctionTypes/llm.ts:37
type"function"The type of tool callcommon/types/src/codeboltjstypes/libFunctionTypes/llm.ts:39