Skip to content

[Release v0.2.14] Tools schema are broken #112

Closed

Description

@alucas

Hi,

With the new release, tools' JSON schema are not correctly published.

With Release v0.2.13 :

{
  "tools": [
    {
      "name": "weather",
      "description": "Get weather information for a specific location",
      "inputSchema": {
        "type": "object",
        "properties": {
          "location": {
            "type": "string",
            "description": "Location to get weather for (e.g., 'Paris', 'New York')"
          }
        },
        "required": [
          "location"
        ]
      }
    }
  ]
}

With Release v0.2.14 :

{
  "tools": [
    {
      "name": "weather",
      "inputSchema": {
        "type": "object"
      },
      "annotations": {
        "location": {
          "type": {
            "_def": {
              "checks": [],
              "typeName": "ZodString",
              "coerce": false
            },
            "~standard": {
              "version": 1,
              "vendor": "zod"
            }
          },
          "description": "Location to get weather for (e.g., 'Paris', 'New York')"
        }
      }
    }
  ]
}

Activity

  1. QuantGeekDev commented on Jun 18, 2025

    @QuantGeekDev
    Owner

    @alucas Thanks for spotting this so swiftly - this is fixed in 0.2.15. Please let me know if this solves the issues for you

  2. QuantGeekDev commented on Apr 1, 2026

    @QuantGeekDev
    Owner

    Hi @alucas, thank you for catching this quickly after the v0.2.14 release. This was fixed in v0.2.15 and the schema generation system has since been substantially improved — Zod schemas are now properly converted to JSON Schema with correct types, descriptions, enums, constraints, and nested object support.

    If you're still using the framework, can you confirm everything looks good on your end with the current version? We'd like to close this one out. Thanks!

  3. added 2 commits that reference this issue on Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions