Skip to content

[Feature]: Can Tool Annotation support returnRedirect? #1408

@hexly666

Description

@hexly666

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) {
  ....
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions