Skip to content

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

@alucas

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')"
        }
      }
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions