You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 3, 2026. It is now read-only.
I have updated to the lastest minor and patch version of Strands
I have checked the documentation and this is not expected behavior
I have searched ./issues and there are no duplicates of my issue
Strands Version
0.2.2
Node.js Version
v24.11.1
Operating System
Windows 10
Installation Method
pnpm
Steps to Reproduce
When using AWS bedrock as the provider, when a tool use invocation is stored in a session, the contentBlockFromData does not correctly identify the tool use content block as the key toolUse does not exist, however the type does. We expect it to correctly identify the tool use
Expected Behavior
Tooluse blocks identified correctly, no error thrown
Checks
Strands Version
0.2.2
Node.js Version
v24.11.1
Operating System
Windows 10
Installation Method
pnpm
Steps to Reproduce
When using AWS bedrock as the provider, when a tool use invocation is stored in a session, the
contentBlockFromDatadoes not correctly identify the tool use content block as the keytoolUsedoes not exist, however the type does. We expect it to correctly identify the tool useExpected Behavior
Tooluse blocks identified correctly, no error thrown
Actual Behavior
Throws an error
Additional Context
No response
Possible Solution
Use the data.type =='toolUse' as an alternate check
Related Issues
No response