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 c6bfa2c commit d495591Copy full SHA for d495591
src/Schemas/Converse/Maps/ToolMap.php
@@ -21,7 +21,7 @@ public static function map(array $tools): array
21
'inputSchema' => [
22
'json' => [
23
'type' => 'object',
24
- 'properties' => $tool->parametersAsArray(),
+ 'properties' => $tool->parametersAsArray() ?: (object) [],
25
'required' => $tool->requiredParameters(),
26
],
27
0 commit comments