Skip to content

v0.0.7

Choose a tag to compare

@fuongz fuongz released this 03 Apr 15:37
· 36 commits to main since this release
0cdd704

Improvements

  • outputSchema now accepts both ZodRawShape and ZodObject - no need to
    call .shape manually when passing a z.object(...).
  • Tool handlers can now return a plain object instead of a full ToolResult.
    The result is automatically serialized to text and set as structuredContent.
    Returning a ToolResult (with a content array) continues to work as before.