function | { description?: string; name: string; parameters?: { properties: Record<string, unknown>; required?: string[]; type: "object"; }; } | Function definition | common/types/src/codeboltjstypes/libFunctionTypes/llm.ts:56 |
function.description? | string | Description of what the function does | common/types/src/codeboltjstypes/libFunctionTypes/llm.ts:60 |
function.name | string | Name of the function | common/types/src/codeboltjstypes/libFunctionTypes/llm.ts:58 |
function.parameters? | { properties: Record<string, unknown>; required?: string[]; type: "object"; } | JSON schema for the function parameters | common/types/src/codeboltjstypes/libFunctionTypes/llm.ts:62 |
function.parameters.properties | Record<string, unknown> | - | common/types/src/codeboltjstypes/libFunctionTypes/llm.ts:64 |
function.parameters.required? | string[] | - | common/types/src/codeboltjstypes/libFunctionTypes/llm.ts:65 |
function.parameters.type | "object" | - | common/types/src/codeboltjstypes/libFunctionTypes/llm.ts:63 |
type | "function" | The type of tool | common/types/src/codeboltjstypes/libFunctionTypes/llm.ts:54 |