feat: add tags support to tools for A2A AgentCard skill metadata#1614
Open
anuyog1004 wants to merge 1 commit intostrands-agents:mainfrom
Open
feat: add tags support to tools for A2A AgentCard skill metadata#1614anuyog1004 wants to merge 1 commit intostrands-agents:mainfrom
anuyog1004 wants to merge 1 commit intostrands-agents:mainfrom
Conversation
- Add tags field to ToolSpec TypedDict as NotRequired[list[str]] - Update @tool decorator to accept optional tags parameter - Modify A2A server to extract tags from tool config - Add comprehensive tests for tags functionality Resolves strands-agents#1261
Author
|
The integration test failures are unrelated to this PR:
These specific failing tests:
The changes in this PR only add a |
Author
|
Hi, Can I please get a review on this. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds support for tags to tools, enabling them to be populated in the A2A AgentCard skill metadata.
Related Issues
Resolves #1261
Documentation PR
N/A. This is an additive feature to the existing
@tooldecorator. Usage is demonstrated in the PR description.Type of Change
Bug fix
Testing
How have you tested the change?
hatch fmt --formatterandhatch fmt --linter- all checks passedhatch test- all tests passedhatch run prepareChecklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.