Skip to content

Mcp tools params type is double or Number will error #8

@jmcdjyu

Description

@jmcdjyu
  1. When mcp tool method have a param with type "Number", use MCP Inspector v17 call it, will report "java.lang.IllegalArgumentException: argument type mismatch" in log record.

  2. When mcp tool method have a param with type "Double", dify will report: 'double' is not a valid ToolParameter.ToolParameterType, use MCP Inspector find tool list response inputSchema have value such as : type:"double". double is not a valid mcp tool param type

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfixed and releasedThis issue has been fixed and included in the latest releasewaiting for userWaiting for user feedback or more details

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions