Files
crewAI/lib
Iris 8c42918dcf fix: exclude tool_type from tool.specs.json init params
The @computed_field tool_type on BaseTool (added for checkpoint
deserialization) was leaking into the generated tool.specs.json via
model_json_schema(mode='serialization'). Studio reads this file and
was rendering 'Tool Type' as a required field users couldn't fill in.

Changes:
- Add 'tool_type' to ignored_init_params in generate_tool_specs.py
- Also filter ignored params from the 'required' list in the schema
- Add TDD test asserting tool_type is excluded from init_params_schema
- Regenerate tool.specs.json (tool_type removed from all tools)
2026-04-08 15:06:10 +00:00
..