EndpointTool

org.llm4s.tapir.EndpointTool
See theEndpointTool companion class
@Experimental
object EndpointTool

Creates an EndpointTool; EndpointTools.tool is the usual way in.

Attributes

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

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(name: String, endpoint: Endpoint[_, _, _, _, Any], requiresApproval: Boolean): EndpointTool

An EndpointTool for endpoint, with no model headers and no application headers.

An EndpointTool for endpoint, with no model headers and no application headers.

Value parameters

requiresApproval

whether an agent should ask before the tool runs

Attributes