McpOutputContext ​
- Type
- Final Class
- Namespace
- craft\mcp
- Inherits
- craft\mcp\McpOutputContext
- Since
- 5.12.1
McpOutputContext describes the context a field value is being returned in by MCP tools.
publicis whether the value is being returned by the public MCP server.requestedis whether the field was explicitly requested via thefieldsargument, rather than included because all fields were requested.
Public Properties ​
| Property | Description |
|---|---|
| public | |
| requested |
public ​
- Default value
false
requested ​
- Default value
false
Public Methods ​
| Method | Description |
|---|---|
| __construct() | Constructor. |
__construct() ​
Constructor.