Skip to content

Commit b5bb8ee

Browse files
committed
feat: adds response type to FunctionResponse
1 parent a80601e commit b5bb8ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Tools/DTO/FunctionResponse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public static function getJsonSchema(): array
102102
'description' => 'The name of the function that was called.',
103103
],
104104
'response' => [
105+
'type' => ['string', 'number', 'boolean', 'object', 'array', 'null'],
105106
'description' => 'The response data from the function.',
106107
],
107108
],

0 commit comments

Comments
 (0)