From 3ced490ca001abccc8d26073947f1514257a97b3 Mon Sep 17 00:00:00 2001 From: Greyson LaLonde Date: Tue, 7 Apr 2026 02:35:52 +0800 Subject: [PATCH] test: include required in expected init_params_schema keys tool_type computed field is legitimately required in the schema. --- lib/crewai-tools/tests/test_generate_tool_specs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/crewai-tools/tests/test_generate_tool_specs.py b/lib/crewai-tools/tests/test_generate_tool_specs.py index 2f56ed1e6..7506c4ee4 100644 --- a/lib/crewai-tools/tests/test_generate_tool_specs.py +++ b/lib/crewai-tools/tests/test_generate_tool_specs.py @@ -97,6 +97,7 @@ def test_extract_init_params_schema(mock_tool_extractor): assert init_params_schema.keys() == { "$defs", "properties", + "required", "title", "type", }