ContentModel ​
- Type
- Class
- Namespace
- craft\mcp\capabilities
- Inherits
- craft\mcp\capabilities\ContentModel
- Since
- 5.12.0
Public Methods ​
| Method | Description |
|---|---|
| __construct() | |
| audit() | |
| auditPrompt() |
__construct() ​
Arguments ​
$checkRegistry
audit() ​
Arguments ​
$checks(list<string>) – Checks to run. Defaults to all checks.$limit
Returns ​
array{checks: list<string>, summary: array<string,int>, findings: array<string,list>}
auditPrompt() ​
Arguments ​
$focus(string) – Optional audit focus, such as fields, entry types, sections, or image alt text.
Returns ​
list<\Mcp\Schema\Content\PromptMessage>