agentscope-java
agentscope-java copied to clipboard
[Feature]: Can Tool Annotation support returnRedirect?
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) {
....
}
@jujn Close it.
https://github.com/agentscope-ai/agentscope-java/pull/2891