Skip to content

Entries ​

Type
Class
Namespace
craft\mcp\capabilities
Inherits
craft\mcp\capabilities\Entries
Since
5.12.0

Entry-specific MCP capabilities. Entries are listed and managed through the elements.* tools.

View source

Public Methods ​

MethodDescription
__construct()
resourceByIdAndSite()

__construct() ​

View source

Arguments ​

  • $actor
  • $elementSerializer
  • $elements

resourceByIdAndSite() ​

View source

Arguments ​

  • $id
  • $siteId

Returns ​

array{entry: array<string,mixed>}