Skip to content

ToolResource

Represents a tool resource required by the agent

---
title: ToolResource
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class Resource {
        +string name
        +string kind
    }
    Resource <|-- ToolResource
    class ToolResource {
      
        +string kind
        +string id
        +dictionary options
    }
kind: tool
id: web-search
options:
myToolResourceProperty: myValue
NameTypeDescription
kindstringThe kind identifier for tool resources
idstringThe unique identifier of the tool resource
optionsdictionaryConfiguration options for the tool resource