@Adapter class that dynamically provides tools, resources, and prompts from external sources.
Usage
Options
| Option | Type | Default | Description |
|---|---|---|---|
name | string | — | Required. The name of the adapter |
project | string | — | Required. The project to add the adapter to |
directory | string | — | Subdirectory within src/adapters/ |
Generated Code
fetch() method is called at startup. Return arrays of tools, resources, and prompts to dynamically register capabilities.