Skip to main content

nativeToolRegistry

VoltAgent Service


VoltAgent Service / tools/nativeToolRegistry

tools/nativeToolRegistry

Type Aliases

SerializedTool

SerializedTool = object

Defined in: tools/nativeToolRegistry.ts:67

Serialized tool configuration from database or JSON

Properties

name?

optional name: string

Defined in: tools/nativeToolRegistry.ts:68

toolName?

optional toolName: string

Defined in: tools/nativeToolRegistry.ts:69

Functions

rehydrateTool()

rehydrateTool(toolConfig): Tool<ToolSchema, undefined>

Defined in: tools/nativeToolRegistry.ts:135

Parameters

toolConfig

SerializedTool

Returns

Tool<ToolSchema, undefined>


rehydrateTools()

rehydrateTools(toolConfigs): Tool<ToolSchema, undefined>[]

Defined in: tools/nativeToolRegistry.ts:153

Parameters

toolConfigs

SerializedTool[]

Returns

Tool<ToolSchema, undefined>[]