agentscope-java icon indicating copy to clipboard operation
agentscope-java copied to clipboard

[Feature]: Can Tool Annotation support returnRedirect?

Open hexly666 opened this issue 6 months ago • 2 comments

Can agentscope support Tool returnDirect like spring-ai, some scenarios needs this feature to support ToolCallResult return to client directly.

Like this:

@Tool(name="getWeather", description="get city weather", returnDirect=true)
String getWeather(@ToolParam("city") String city) {
  ....
}

hexly666 avatar May 16 '26 08:05 hexly666

@jujn Close it.

xzxiaoshan avatar Sep 20 '26 02:09 xzxiaoshan

https://github.com/agentscope-ai/agentscope-java/pull/2891

jujn avatar Sep 20 '26 02:09 jujn