ToolResource

org.llm4s.agent.graph.tool.ToolResource
@Experimental
final case class ToolResource(operation: Operation, target: String)

One thing a tool call touches, as its tool declares with AgentToolSpec.withResources: the operation, and the target a permission rule's Glob matches - a tool name, a path or a URL. A tool that declares none touches ToolResource(Operation.Invoke, <its name>).

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product