generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 535
feat: expose tool_use and agent through ToolContext to decorated tools #557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dbschmigelski
merged 18 commits into
strands-agents:main
from
dbschmigelski:feat/decorator/tool_param
Aug 14, 2025
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
ec53f88
feat: expose internals through tool decorator param StrandsContext
dbschmigelski 84d1410
fix: simplify _is_special_param
dbschmigelski f379fb0
fix: clean integ test
dbschmigelski 5def990
fix: linting
dbschmigelski 9307a0e
fix: bug referencing wrong variable
dbschmigelski b099a2a
WIP
dbschmigelski ba59f6f
fix: update tests to pass agent in to direct tool call
dbschmigelski df69ea6
feat: add InvocationState TypedDict
dbschmigelski 29b344b
feat: add InvocationState TypedDict
dbschmigelski 932a76e
event_loop_cycle_id is UUID
dbschmigelski 76e9f8d
fix kwargs
dbschmigelski fea469d
fix: typing
dbschmigelski 6886a4f
feat: expose opt in functionalisty for tool decorator
dbschmigelski a9172d6
linting
dbschmigelski f664e4d
litning
dbschmigelski 72d506e
Update src/strands/tools/decorator.py
dbschmigelski 84d8bde
Apply suggestion from @zastrowm
dbschmigelski 087981a
tests: add aadditional unit tests
dbschmigelski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.