Skip to content

feat(core): Support return_direct tool call - #1434

Closed
guanxuc wants to merge 2 commits into
agentscope-ai:mainfrom
guanxuc:tool-call-return_direct
Closed

guanxuc wants to merge 2 commits into
agentscope-ai:mainfrom
guanxuc:tool-call-return_direct

Conversation

@guanxuc

@guanxuc guanxuc commented May 18, 2026

Copy link
Copy Markdown
Contributor

AgentScope-Java Version

1.1.0

Description

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has been formatted with mvn spotless:apply
  • All tests are passing (mvn test)
  • Javadoc comments are complete and follow project conventions
  • Related documentation has been updated (e.g. links, examples, etc.)
  • Code is ready for review

@guanxuc
guanxuc requested a review from a team May 18, 2026 15:45
@guanxuc
guanxuc force-pushed the tool-call-return_direct branch from b72dab5 to d9a3416 Compare May 18, 2026 15:50
@codecov

codecov Bot commented May 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@LearningGp LearningGp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to discuss whether introducing a new processing branch is strictly necessary. Could treating @tool(returnDirect=true) as syntactic sugar for the ACTING_STOP_REQUESTED mechanism be sufficient to meet the requirements?
@chickenlj

@AgentScopeJavaBot AgentScopeJavaBot added enhancement New feature or request area/core/agent Agent runtime, pipeline, hooks, plan area/core/tool Tool, skill, RAG abstractions labels May 28, 2026
@jujn jujn closed this Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/core/agent Agent runtime, pipeline, hooks, plan area/core/tool Tool, skill, RAG abstractions enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Can Tool Annotation support returnRedirect?

4 participants