Describe the bug
When I try to install tavily-search mcp, it raise exception that " raise ValueError(
ValueError: Tool (tavily-search)[https://github.com/tavily-ai/tavily-mcp/blob/main/README.md] has more than 5 parameters. This is not supported by Bedrock Agents."
Then I found the code, it seems a hard limit, why there is a 5 limits? I tried several mcp servers, there are amount to servers that has more than 5 parameters in its tool.
|
if len(function["parameters"]) > 5: |
To Reproduce
Steps to reproduce the behavior (or some version of this):
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
! Additional context !
- Sagemaker Studio Kernel used
- Instance used
- commit link to the workshop if you're not using the latest