Skip to content

[Feature] when call mcp tools in AI dialogue node, can't call mcp tolls multiple times #4096

@SkyGra

Description

@SkyGra

MaxKB Version

1.10.1

Please describe your needs or suggestions for improvements

Hi,

When I call mcp tools in AI dialogue node, it can't call mcp tolls multiple times, it usally exit after call the mcp tools once, regardless of whether a result can be obtained. . For example, when I use doris-mcp to reply the user's question, The LLM will call the mcp tool once in the first step to obtain the table column comments, and then call it again in the second step to execute the SQL statement. In my test, the maxKB can only call the mcp tool only once, thus in I can't get the right result. I want to know how to solve the problem, because when I use it in Cline client, it can work well.

Thanks.

Please describe the solution you suggest

I hope maxKB can support call mcp tools multiple times in AI dialogue node, thanks.

Additional Information

No response

Metadata

Metadata

Assignees

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