CapabilityRegistry ​
- Type
- Class
- Namespace
- craft\mcp
- Inherits
- craft\mcp\CapabilityRegistry
- Since
- 5.12.0
Loads SDK-attributed classes registered through Mcp::EVENT_REGISTER_CAPABILITY_TYPES.
Public Methods ​
| Method | Description |
|---|---|
| __construct() | |
| definitions() | |
| types() |
__construct() ​
Arguments ​
$types(list<class-string>)
definitions() ​
types() ​
Protected Methods ​
| Method | Description |
|---|---|
| validate() |
validate() ​
Arguments ​
$type(class-string)