def test_bedrock_adapter(self):
        """Test AWS Bedrock adapter format transformation."""
        expected = [
            {
                "toolSpec": {
                    "name": "get_weather",
                    "description": "Get the weather in a given location",
                    "inputSchema": {
                        "json": {
                            "type": "object",
                            "properties": {
                                "format": {
                                    "type": "string",
                                    "enum": ["celsius", "fahrenheit"],
                                    "description": "The temperature unit to use.",
                                },
                                "location": {
                                    "type": "string",
                                    "description": "The city, e.g. San Francisco",
                                },
                            },
                            "required": ["location", "format"],
                        }
                    },
                }
            }
        ]
        assert AWSBedrockLLMAdapter().to_provider_tools_format(self.tools_def) == expected
Test AWS Bedrock adapter format transformation.
tests/test_function_calling_adapters.py