Content implements JsonSerializable
AbstractYes
Base class for all content types in MCP.
Tags
Table of Contents
Interfaces
- JsonSerializable
Properties
- $type : string
Methods
- __construct() : mixed
Properties
$type read-only
public
string
$type
Methods
__construct()
public
__construct(string $type) : mixed
Parameters
- $type : string