Files
crewAI/lib/crewai/tests/utilities
Devin AI 8f86634e43 fix: use provider-agnostic schema for non-OpenAI tool conversion
Fixes #4472 — MCP tools (and any tool with args_schema) produced JSON
schemas incompatible with Gemini and Bedrock/Anthropic because
extract_tool_info() called generate_model_description() which applies
OpenAI-specific transformations (additionalProperties: false, forcing
all properties required, title fields).

Added generate_tool_parameters_schema() that produces clean schemas
without those provider-specific metadata fields. Updated
extract_tool_info() to use it for the args_schema path.

Co-Authored-By: João <joao@crewai.com>
2026-02-13 07:30:30 +00:00
..
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2026-02-11 15:52:03 -08:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00