Skip to content

v0.1.2

Choose a tag to compare

@galatanovidiu galatanovidiu released this 05 Jun 08:27
· 2 commits to trunk since this release

Fixed

  • ToolInputSchema::toArray() and ToolOutputSchema::toArray() now always emit the properties key as a JSON object, even for tools that declare no parameters. Parameter-less tools previously produced {"type":"object"} (key omitted) or [] (JSON array), both of which strict JSON Schema validators such as OpenAI strict function-calling mode reject with object schema missing properties. Tools with parameters are unchanged. The fix is mirrored in the TypeScript generator so a clean regeneration reproduces the patched output.

Full Changelog: v0.1.1...v0.1.2