Ollama4j
A Java library (wrapper/binding) for Ollama server.
Loading...
Searching...
No Matches
io.github.ollama4j.tools.ToolRegistry Class Reference

Public Member Functions

ToolFunction getToolFunction (String name)
 
void addTool (String name, Tools.ToolSpecification specification)
 
Collection< Tools.ToolSpecification > getRegisteredSpecs ()
 

Detailed Description

Definition at line 7 of file ToolRegistry.java.

Member Function Documentation

◆ addTool()

void io.github.ollama4j.tools.ToolRegistry.addTool ( String name,
Tools.ToolSpecification specification )

Definition at line 15 of file ToolRegistry.java.

◆ getRegisteredSpecs()

Collection< Tools.ToolSpecification > io.github.ollama4j.tools.ToolRegistry.getRegisteredSpecs ( )

Definition at line 19 of file ToolRegistry.java.

◆ getToolFunction()

ToolFunction io.github.ollama4j.tools.ToolRegistry.getToolFunction ( String name)

Definition at line 10 of file ToolRegistry.java.


The documentation for this class was generated from the following file: