ToolSet

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

Attributes

Companion
class
Source
ToolSet.scala
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

Source
ToolSet.scala
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

Source
ToolSet.scala

Concrete fields

val empty: ToolSet

Attributes

Source
ToolSet.scala