Skip to content

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.

View source

Public Methods ​

MethodDescription
__construct()
definitions()
types()

__construct() ​

View source

Arguments ​

  • $types (list<class-string>)

definitions() ​

View source

types() ​

View source

Protected Methods ​

MethodDescription
validate()

validate() ​

View source

Arguments ​

  • $type (class-string)