Skip to content

Invalid schema for function #103

@leogermani

Description

@leogermani

I've seen this error for a few tools while setting up the MCP server on VSCode. I had to disable these tools in order to get it working:

  • mcp_wordpress-mcp_wc_add_product
  • mcp_wordpress-mcp_wc_update_product

Full error:

Sorry, your request failed. Please try again. Request id: 4f1c3e1a-ec13-4931-86e8-8514ebf46806

Reason: Request Failed: 400 {"error":{"message":"Invalid schema for function 'mcp_wordpress-mcp_wc_update_product': In context=('properties', 'meta_data', 'items', 'properties', 'value', 'type', '6'), array schema missing items.","code":"invalid_function_parameters"}}

I also got some " tool parameters array type must have items" errors described in #102

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