Resource
Represents a resource required by the agent Resources can include databases, APIs, or other external systems that the agent needs to interact with to perform its tasks
Class Diagram
Section titled “Class Diagram”---
title: Resource
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class Resource {
<>
+string name
+string kind
}
class ModelResource {
+string kind
+string id
}
Resource <|-- ModelResource
class ToolResource {
+string kind
+string id
+dictionary options
}
Resource <|-- ToolResource
Yaml Example
Section titled “Yaml Example”name: my-resourcekind: modelProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| name | string | Name of the resource |
| kind | string | The kind of resource (e.g., model, tool) |
Child Types
Section titled “Child Types”The following types extend Resource: