Web Page
data class WebPage(val url: String, val name: String = url, val description: String = "Web page at ") : LlmReferenceProvider, LlmReference
Reference for the contents of a web page. Works only if fetch tool is available. See CoreToolGroups.WEB
Constructors
Properties
Functions
Link copied to clipboard
Convert this reference to a MatryoshkaReference, exposing a single tool object that supports nesting. Do not rewrap a MatryoshkaReference. Thus repeated calls to this method are safe.
Link copied to clipboard
Link copied to clipboard
Create an LLM reference
Link copied to clipboard
Return the instances of tool object. Defaults to this
Link copied to clipboard
Create a tool object for this reference.
Link copied to clipboard
A safe prefix for LLM tools associated with this reference. Defaults to the name lowercased with spaces replaced by underscores. Subclasses can override it