ToolSet

org.llm4s.agent.graph.tool.ToolSet
See theToolSet companion class
object ToolSet

Attributes

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

Members list

Value members

Concrete methods

def of(tools: AgentTool[_]*): Result[ToolSet]

A set checked with ToolArgumentValidator.default.

A set checked with ToolArgumentValidator.default.

Attributes

def of(validator: ToolArgumentValidator, tools: AgentTool[_]*): Result[ToolSet]

Refuses, with one ValidationError listing every problem one per line: an invalid tool name, a duplicate name, an argument schema whose root is not type: object (core's clients send every tool's parameters as an object), or a keyword in a tool's AgentToolSpec.argumentSchema that validator does not support.

Refuses, with one ValidationError listing every problem one per line: an invalid tool name, a duplicate name, an argument schema whose root is not type: object (core's clients send every tool's parameters as an object), or a keyword in a tool's AgentToolSpec.argumentSchema that validator does not support.

Attributes

Concrete fields

val empty: ToolSet