feat(amazon-bedrock): add Nova Web Grounding support #9885
  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.
  
    
  
    
Background
Amazon Bedrock announced Web Grounding support for Nova models, which provides a built-in tool for real-time web search capabilities.
This is a turnkey RAG option that allows Nova models to intelligently retrieve and incorporate up-to-date information with source
citations.
Reference: Build more accurate AI applications with Amazon Nova Web Grounding
Summary
This PR adds support for Nova Web Grounding in the Amazon Bedrock provider:
BedrockSystemToolinterface for system tool support inbedrock-api-types.tsnova_groundingtool definition inbedrock-nova-tools.tsbedrock-prepare-tools.tsto convert provider-defined tools to Bedrock's systemTool formatnovaToolsfrom the provider inbedrock-provider.tsandindex.tsbedrock-prepare-tools.test.tsamazon-bedrock.mdxwith usage examples and availability informationUsers can now use Nova Web Grounding like this:
Manual Verification
Checklist
Future Work