Skip to content

[Bug] v1 version mcp call parameter type cannot be passed, they are all strings #4413

Description

@linfengjjj

Contact Information

蒋林峰

MaxKB Version

v1.10.12-lts

Problem Description

v1版本mcp调用参数类型无法传递,都是字符串

Steps to Reproduce

同一个mcp,调用参数要求int,分别在v1和v2测试,v1报错类型不对,v2没有报错,成功调用并返回
v1的结果:

Image v2的结果: Image

The expected correct result

希望优化

Related log output

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions