ToolBuilder

org.llm4s.toolapi.ToolBuilder
See theToolBuilder companion class
object ToolBuilder

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[T, R : ReadWriter](name: String, description: String, schema: SchemaDefinition[T]): ToolBuilder[T, R]

Create a new builder for a tool with the given name, description, and schema.

Create a new builder for a tool with the given name, description, and schema.

Value parameters

description

Natural-language description shown to the LLM

name

Unique tool identifier

schema

Parameter schema

Attributes