We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1ae4c9 commit 91c4e95Copy full SHA for 91c4e95
src/Schema/Result/CallToolResult.php
@@ -93,7 +93,7 @@ public static function fromArray(array $data): self
93
throw new InvalidArgumentException('Provided array must be an array of Content objects.');
94
}
95
if ('structured' === $item->type) {
96
- $structuredContent = $item['structured'];
+ $structuredContent = $item;
97
continue;
98
99
$contents[] = match ($item->type ?? null) {
0 commit comments