Working on the SDK I read this method in BlobResourceContents.php and wonder if there is not a problem here :
public function jsonSerialize(): array
{
return [
'blob' => $this->blob,
...$this->jsonSerialize(),
];
}
public function jsonSerialize(): array
{
return [
'blob' => $this->blob,
...parent::jsonSerialize(),
];
}
Working on the SDK I read this method in BlobResourceContents.php and wonder if there is not a problem here :
https://github.com/modelcontextprotocol/php-sdk/blob/757b959bfd2a0842c6af49e5d546e45426aea686/src/Schema/Content/BlobResourceContents.php#L78C1-L84C6
In TextResourceContents.php the method call parent :