Skip to content

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

Closed

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

Activity

  1. added
    enhancement
    on May 16, 2026
  2. moved this from Backlog to In progress in AgentScope Javaon May 18, 2026
  3. added
    area/core/tool
    on May 28, 2026
  4. xzxiaoshan commented on Sep 20, 2026

    @xzxiaoshan
    Collaborator

    @jujn Close it.

  5. jujn commented on Sep 20, 2026

    @jujn
    Collaborator
  6. moved this from In progress to Done in AgentScope Javaon Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/core/toolenhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions