Skip to main content

OpenAITool

@codebolt/agent


Interface: OpenAITool

Defined in: packages/agent/src/unified/types/libTypes.ts:90

OpenAI-compatible tool format

Properties

PropertyTypeDefined in
function{ description: string; name: string; parameters: { additionalProperties?: boolean; properties: Record<string, unknown>; required?: string[]; type: "object"; }; }packages/agent/src/unified/types/libTypes.ts:92
function.descriptionstringpackages/agent/src/unified/types/libTypes.ts:94
function.namestringpackages/agent/src/unified/types/libTypes.ts:93
function.parameters{ additionalProperties?: boolean; properties: Record<string, unknown>; required?: string[]; type: "object"; }packages/agent/src/unified/types/libTypes.ts:95
function.parameters.additionalProperties?booleanpackages/agent/src/unified/types/libTypes.ts:99
function.parameters.propertiesRecord<string, unknown>packages/agent/src/unified/types/libTypes.ts:97
function.parameters.required?string[]packages/agent/src/unified/types/libTypes.ts:98
function.parameters.type"object"packages/agent/src/unified/types/libTypes.ts:96
type"function"packages/agent/src/unified/types/libTypes.ts:91