Skip to content

ConfigurationSchema ​

Type
Class
Namespace
craft\mcp\schema
Inherits
craft\mcp\schema\ConfigurationSchema
Since
5.12.0

Builds the configuration interface from the existing typed operations.

View source

Public Methods ​

MethodDescription
__construct()
arguments()
for()

__construct() ​

View source

Arguments ​

  • $generator

arguments() ​

View source

Arguments ​

  • $type
  • $operation
  • $identifier (array<string,mixed>)
  • $attributes (array<string,mixed>)
  • $options (array<string,mixed>)

Returns ​

array<string,mixed>

for() ​

View source

Arguments ​

  • $type
  • $operation

Returns ​

array<string,mixed>