Skip to content

Documentation / @agentick/openai / mapToolDefinition

Function: mapToolDefinition()

mapToolDefinition(tool): ChatCompletionTool

Defined in: openai.ts:621

Map tool definition to OpenAI format

Parameters

tool

any

Returns

ChatCompletionTool

Released under the ISC License.