Skip to main content

Function: toolsFromRegistry()

Function: toolsFromRegistry()

function toolsFromRegistry(registry: ToolRegistry): AgentToolDefinition[];

Produces the AgentToolDefinition[] a ToolProvider exposes to the LLM, deriving parameters JSON Schema from each entry's Zod schema.

Tool names come from registry keys (supports dotted names like uploads.list for dynamic plugins).

Parameters

ParameterType
registryToolRegistry

Returns

AgentToolDefinition[]

Databricks Developer Hub

Ready to ship your next agentic app in minutes?

Read docs