diff --git a/src/ClaudeChat.php b/src/ClaudeChat.php index f30b91f..3c292e5 100755 --- a/src/ClaudeChat.php +++ b/src/ClaudeChat.php @@ -91,6 +91,7 @@ public function createJson(array $arguments): stdClass if (json_last_error() === JSON_ERROR_NONE && $jsonText !== '') { // If the extracted text is valid JSON, update the content object $content->type = 'object'; + $content->json = $jsonText; $content->object = $jsonObject; } }